[New Sample] Add example in PaddleX/STFPM #270
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Category
New Sample
Description
该 case原本的模型dump下来缺少
shadow_output
。通过修改model.py
然后经过 GraphNet validate 达到了入库条件修改备注如下:
exec_programs.py
中有 6 个 Pirprogram, 但是有 2 个带 grad 已排除,另外 4 个结构完全相同 --- 所以模型只生成了一个 model,py 而不是 subgraph_X * 4个exec_programs.py
在(之前)出错的点,就是没有shadow_output
;如果修改就是 4 处 Pirprogram 都改,所以选择修改model.py
graph_hash.txt
应用了最近版本的 hash 方法