Open Lokesh-26 opened 9 months ago
It seems that the configuration file "config.yaml" can not be found under the path "media/gouda/3C448DDD448D99F2/segmentation/SAM-6D/SAM-6D/Instance_Segmentation_Model". All configuration files are managed under the relative path "./SAM-6D/SAM-6D/Instance_Segmentation_Model/configs", and you can check whether you have added your config file correctly.
All configurations are loaded once at the line 9 in run_inference.py
@hydra.main(version_base=None, config_path="configs", config_name="run_inference")
You didn't encounter any problem here, or you called the same code somewhere else which raised the error.
I have the run_inference.yaml
in the configs folder. But the script expects a config.yaml
file in the "media/gouda/3C448DDD448D99F2/segmentation/SAM-6D/SAM-6D/Instance_Segmentation_Model" directory.
I duplicated the run_inference.yaml and renamed to config.yaml and placed it one directory behind in "media/gouda/3C448DDD448D99F2/segmentation/SAM-6D/SAM-6D/Instance_Segmentation_Model"
. It seems to work but I have to move all the files one directory behind.
Can you suggest what can I do here?
Did we get to a clear answer for this issue? I am facing the same thing with run_inference.py working with the BOP dataset. When I try to use the templates generated from test split instead of train_pbr, it requires me to add a config file under the ISM repo instead of ISM/configs.
all right, I am sharing what resolved the issue for me. Hopefully it can help others as well.
I was able to fix this by setting the number of visible GPUs. This was suggested in the ISM readme. It seems like inference does not support multi-GPU at the moment.
export CUDA_VISIBLE_DEVICES=0
Hello, I am getting the following error for the ISM inference script. I have a custom dataset in BOP format. I added the required data in yaml files. Please help me with the error.