lartpang / MINet

CVPR2020, Multi-scale Interactive Network for Salient Object Detection
https://openaccess.thecvf.com/content_CVPR_2020/html/Pang_Multi-Scale_Interactive_Network_for_Salient_Object_Detection_CVPR_2020_paper.html
MIT License
237 stars 29 forks source link

Why raise NotImplementedError from create_rgb_datasets_imgs.py? #17

Closed Leno-B closed 3 years ago

Leno-B commented 3 years ago

Traceback (most recent call last): File "main.py", line 18, in solver = Solver(arg_config, path_config) File "/userhome/MINet/code/utils/solver.py", line 57, in init mode="train", File "/userhome/MINet/code/utils/imgs/create_loader_imgs.py", line 84, in create_loader use_bigt=arg_config["use_bigt"], File "/userhome/MINet/code/utils/imgs/create_rgb_datasets_imgs.py", line 140, in init raise NotImplementedError NotImplementedError

lartpang commented 3 years ago

@Leno-B

I guess, the error is raised from these code in the newest commit:

https://github.com/lartpang/MINet/blob/567d2e45114e37bd823fd4ebbc28d4a2bb375f2d/code/utils/dataloader.py#L93-L109

So, you need to make sure that any of these items is True:


It is suggested to use the newest committed version.

Leno-B commented 3 years ago

Thanks, it worked when I used the newest committed version.

lartpang commented 3 years ago

@Leno-B OK. I think your problem has been solved. If you have any other questions, you are welcome to create a new issue.