gist-ailab / uoais

Codes of paper "Unseen Object Amodal Instance Segmentation via Hierarchical Occlusion Modeling", ICRA 2022
Other
130 stars 27 forks source link

module and key errors #5

Closed maxiuw closed 2 years ago

maxiuw commented 2 years ago

running any of the sample code in the uoais dir e.g. python_ tools/run_on_OSD.py --use-cgnet --dataset-path ./sample_data --config-file configs/R50_depth_mlc_occatmask_hom_concat.yaml

ModuleNotFoundError: No module named 'utils' after copying utils.py file to the tools folder -> ModuleNotFoundError: No module named 'foreground_segmentation' after copying that folder to to the tools folder ->

File "tools/run_on_OSD.py", line 59, in cfg.merge_from_file(args.config_file) ... KeyError: 'Non-existent config key: MODEL.ROI_VISIBLE_MASK_HEAD'

Most of the flags you used in .xml file do not seem to exist... How could I solve it?

SeungBack commented 2 years ago

The possible reason for the error would be the following things:

maxiuw commented 2 years ago

Right, i see where my confusion came from. I think it would be nice to change point 7 in the env setup

from Build and install custom AdelaiDet to Build custom AdelaiDet

Also, I tested it with cuda 10.1 set up, and it seem to be working fine :)