Skip to content

Commit

Permalink
[MNV1,RN18,VGG] Cleanup specialize layer and folding configs
Browse files Browse the repository at this point in the history
  • Loading branch information
auphelia committed May 3, 2024
1 parent 073f791 commit e4e1c96
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 1,113 deletions.
9 changes: 7 additions & 2 deletions build/mobilenet-v1/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,20 @@ def select_build_steps(platform):
# for Zynq, use the board name as the release name
# e.g. ZCU104
release_platform_name = platform_name
# for ZCU104 we provide a specialize layer json
specialize_layer_file = (
"specialize_layers_config/ZCU104_specialize_layers_config.json"
if platform_name == "ZCU104"
else None
)
platform_dir = "release/%s" % release_platform_name
os.makedirs(platform_dir, exist_ok=True)

cfg = build_cfg.DataflowBuildConfig(
steps=select_build_steps(platform_name),
output_dir="output_%s_%s" % (model_name, release_platform_name),
folding_config_file="folding_config/%s_folding_config.json" % platform_name,
specialize_layers_config_file="specialize_layers_config/%s_specialize_layers_config.json"
% platform_name,
specialize_layers_config_file=specialize_layer_file,
synth_clk_period_ns=select_clk_period(platform_name),
board=platform_name,
shell_flow_type=shell_flow_type,
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit e4e1c96

Please sign in to comment.