han-cai / PathLevel-EAS

Path-Level Network Transformation for Efficient Architecture Search, in ICML 2018.
113 stars 21 forks source link

assert cell_architecture == Tree.build_tree_from_torch_module(net_config.building_block), 'Err' #8

Open dlongry opened 6 years ago

dlongry commented 6 years ago

Thanks for your work, but when I run the arch_search.py, it has error as follows: File "arch_search.py", line 44, in virtual=False, File "/home/users/zhangruyi/NAS/PathLevel-EAS-master/code/CIFAR/arch_search/arch_search_tree_cell.py", line 430, in arch_search_tree_cell assert cell_architecture == Tree.build_tree_from_torch_module(net_config.building_block), 'Err' AssertionError: Err

do you know what happend? and how to solve it ? @han-cai thanks.

Yuzz1020 commented 6 years ago

Hey, have you solved this error? I have got exact the same one as yours. Any idea on how to deal with it?

Yuzz1020 commented 5 years ago

This is because when groups in conv layer is 1, Tree.build_tree_from_torch_module(net_config.building_block) will automatically consider it as Conv while cell_architecture built from net_config_for_sample will still consider it as GroupConv.

I think it is an ignorable error and maybe you can comment it.