-
Notifications
You must be signed in to change notification settings - Fork 57
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
Visualize the detection results on HICO_DET #16
Comments
Hello, I got some troubles while reading the "Demo/Test on your own images" in readme.md. In the third step and fourth step, there exists the pamameter like "demo/Object_Detection.pkl" and "demo/HOI_Detection.pkl", but I cannot find these two pkl files in demo folder. So I would like to know whether these pkl files need to be trained to attain them by myself. Hope to hearing from you, thanks a lot. |
Hi @Carbord, Sorry for the confusion. The parameter "--Demo_RCNN demo/Object_Detection.pkl" is just for specifying the path to store the output result. You can simply run step3 and 4. These two lines of code will generate Object_Detection.pkl and HOI_Detection.pkl for you. Let me know if you have any question. |
I cannot find these two pkl files ("demo/Object_Detection.pkl" and "demo/HOI_Detection.pkl")in demo folder. So I would like to know whether these pkl files need to be trained to attain them by myself |
@zhaowuyao, there are five steps listed in the Demo/Test on your own images section. Step 1 is for setting up the external object detector. Then please put your own images in the demo folder, as stated in step 2. Then you can simply run the commands showed in step 3 and step 4. These two commands will generate these two pkl files for you. Finally, following step 5, you can use the provided tools/Demo.ipynb to visualize the HOI results. |
Hi @vaesl, I am working on the iCAN v2. Once finished, I will update the visualization code which will support HICO-DET as well. |
@gaochen315 |
@ZHUXUHAN, I am not sure if I fully understand your question. Several comments:
|
step3 and step are where?What are the command contents of steps 3 and 4? I ran all the commands in your readme.md and didn't produce two pkl files ("demo/Object_Detection.pkl" and "demo/HOI_Detection.pkl")in demo folder. |
@zhaowuyao, they are under the Demo/Test on your own images section. Can't you find them? Or can you describe what you have done so I can help |
Thanks .It is my fault.I have solved. |
@zhaowuyao, I don't understand what you mean by "run Visualization.ipynb". You have to execute all the sections in the provided notebook. |
thanks! |
yes,i run the visualization.ipynb,by default,the threshold is 0.01,if the visualization.ipynb can run for the |
@gaochen315 I see the code in demo.ipynb the model is iCAN_ResNet50_VCOCO, what can I modify it for hico-det |
hi, thanks for sharing your code. I have a problem when to run the commands 3, that is “ can't open file ../tf-faster-rcnn/tools/object.Detector.py' [Errno 2] No such file or directory”. And in the tf-faster-rcnn repository , I can't find the file of object.Detector.py. So I would like to know whether this files need to be download somewhere by myself. Hope to hear from you, thank you very much! |
Hi @CherryBear1314, Did you do the first step, i.e.
In line 21, it copy |
Thanks for sharing your code with us! iCAN is really a fantastic job, I mean that~
May I ask is there any code or tool to visualize the detection results on HICO_DET? I see that there exists one tools/Visualization.ipynb to visualize the detection results on V-COCO. I have tried it and it works well.
Hope to hearing from you~ thank you very much!
The text was updated successfully, but these errors were encountered: