PathLevel-EAS icon indicating copy to clipboard operation
PathLevel-EAS copied to clipboard

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

Open dlongry opened this issue 7 years ago • 2 comments

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.

dlongry avatar Sep 17 '18 06:09 dlongry

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

Yuzz1020 avatar Oct 24 '18 02:10 Yuzz1020

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.

Yuzz1020 avatar Nov 05 '18 03:11 Yuzz1020