-
Notifications
You must be signed in to change notification settings - Fork 21
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
Inference #10
Comments
@sumantha-NTS Thank you for your interest in our work. This model is very strong so it should perform well for multi-task learning in the real world. So far this project doesn't contain code for inference in the wild but I will consider adding it if more people are interested in it in future. It is also easy for you to write the inference code based on main.py and utils/test_utils.py. The file-saving code is here: https://github.com/prismformore/InvPT/blob/3b70fcc5a4f7053a7e32a9f85da5dda670c18fba/evaluation/evaluate_utils.py#L69 Thank you. |
Hi, As you can observe, i am getting black output... |
@sumantha-NTS Hi, can you show your code? |
Already attached code above i.e., inference.py |
@sumantha-NTS Please check this commit https://github.com/prismformore/InvPT/blob/main/inference.py. I implement multi-task prediction inference code for any image input using the PASCAL-Context checkpoint. I borrow a few lines of code from yours. Please check whether this is helpful to you. An example: |
Thank you.. |
Hi,
I want to perform inference for human parsing using this model. What are the inputs required apart from the input image...?
I have already added the input image in JPEGImages directory. While inferencing I am getting assertion error at below line
File "/content/drive/MyDrive/POCs/InvPT/data/pascal_context.py", line 165, in init
assert os.path.isfile(_edge)
AssertionError
The text was updated successfully, but these errors were encountered: