Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError: [Errno 2] No such file or directory: 'result/cam_adv_mask/2007_000032.npy' #5

Closed
seyeeet opened this issue Apr 21, 2021 · 2 comments

Comments

@seyeeet
Copy link

seyeeet commented Apr 21, 2021

Thanks for sharing your code.
after downloading all the materials now I am running the bash get_mask_quality.sh but it is super slow and I am wondering how long that process should take? and what does that _work function in obtain_CAM_masking.py really do? do I need to do it?

@jbeomlee93
Copy link
Owner

I think it depends on your machine, but it can be a bit slow because adversarial climbing is iteratively done by 27 times for 10,582 images. It took around 14 hours for me with 4 GPUs.

If you want to evaluate the quality of the initial seed shown in Table 1, you can just use get_seed_quality.sh, which operates only on 1,456 training images. However, if you want to get the final pseudo mask, you should run get_mask_quality.sh for the full 10,582 images.

The _work function is for multi-GPU processing.

Thanks.

@seyeeet
Copy link
Author

seyeeet commented Apr 22, 2021

Thanks

@seyeeet seyeeet closed this as completed Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants