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

How to test on my own dataset? #5

Closed
visonpon opened this issue Oct 16, 2018 · 2 comments
Closed

How to test on my own dataset? #5

visonpon opened this issue Oct 16, 2018 · 2 comments

Comments

@visonpon
Copy link

visonpon commented Oct 16, 2018

Hi,
As I see, both thedemo.pyand test.py use the trimap to output the results:

trimap = generate_trimap(alpha)---demo.py(it seems trimap generated from ground truth)
ap.add_argument("-t", "--trimap", help="path to the trimap file")---test.py(load from existed file)
so, how to get the trimap of my own dataset and test on the pretrained model?
thanks~

@foamliu
Copy link
Owner

foamliu commented Oct 18, 2018

Semantic-segmentation? E.g. if foreground is person this project may help: https://github.com/foamliu/Look-Into-Person

@foamliu foamliu closed this as completed Oct 18, 2018
@visonpon
Copy link
Author

Hi
foamliu, thanks for your quickly response, but the pretrained model provided by the project https://github.com/foamliu/Look-Into-Person do not match the model. Someone has mentioned the load error, hope you can help us~ thanks~

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