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

Custom Dataset #3

Closed
Tonks684 opened this issue Mar 15, 2021 · 3 comments
Closed

Custom Dataset #3

Tonks684 opened this issue Mar 15, 2021 · 3 comments

Comments

@Tonks684
Copy link

Thank you very much, this is very exciting work. I was wondering if you could share any guidance on how to customize the code for alternative datasets?

@wvangansbeke
Copy link
Owner

Hi @Tonks684,
Thank you for your interest!

In the first step you will need to generate mask proposals. Depending on the dataset of interest, you can adopt a mid-level visual prior (e.g. saliency, optical flow, etc.) to obtain these masks. In the second step, you apply the loss function from in the paper (Eq. 3) using the object masks. Have a look here for more details about the loss.

Regarding the code. You will have to write a dataloader for your custom dataset that contains the images and their corresponding object mask proposals. Definitely take a look here and check how we use the saliency masks.

Btw, we are planning to update parts of the paper and make some additions to this repository in the near future.

Hope this is helpful.

@wvangansbeke
Copy link
Owner

If you have any further issues, let us know.

@Tonks684
Copy link
Author

Thank you for your explanation.

I'm trying to run the DeepUSPS to generator the initial saliency masks. The requirement.txt provided by https://tinyurl.com/wtlhgo3 is causing me to have a lot of incompatible libraries. Are you able to share the requirements.txt you used or the changes you made? I imagine their file is out of date perhaps. Thank you in advance!

Sam.

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