huawei-noah / vega

AutoML tools chain
http://www.noahlab.com.hk/opensource/vega/
Other
842 stars 175 forks source link

src_path' is not defined #203

Closed vanessasidrim closed 2 years ago

vanessasidrim commented 2 years ago

When running SP-NAS I get the following error: ERROR:root:Failed to run worker, id: 19, message: name 'src_path' is not defined

Where do I set the "src_path"?

zhangjiajin commented 2 years ago

@vanessasidrim Thank you for helping to find a bug. Please update vega/common/file_ops.py and vega/model_zoo/model_zoo.py.

vanessasidrim commented 2 years ago

I performed a pull from master, the code was updated but the runtime error remains. 😢

zhangjiajin commented 2 years ago

@vanessasidrim

Please uninstall noah-vega and reinstall it.

pip3 uninstall noah-vega

Then build vega.

cd vega
python3 ./setup.py bdist_wheel

Then reinstall vega.

cd dist
pip3 install ./noah_vega-1.8.0-py3-none-any.whl

Then run SP-NAS.

If runtime error remains, please provide logs.