-
Notifications
You must be signed in to change notification settings - Fork 40
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
No Detection or Tracking #7
Comments
I just checked by saving output video, in the start of the video the detector detects the drone but only for one or two frames and then disappeared and no more detection or tracking. Update: I have verified mainDetect.py and the detector is detecting drone very well. So I think the problem is only in the Detection+Tracking code. Can you please check the problem? |
Hey @MuhammadAsadJaved congrats you build and test the repo succesfully. Have you got any document for installation guideline or tutorial for the demo? For instance, jetpack version, opencv version, caffe version etc. and installation scripts for all of these. Best Regards |
Hi @berkantay Here are the details:
If you got any problem during the installation process, feel free to post here. Good luck. |
Thanks for information about installation steps, Im getting error while build opencv from source: make[1]: *** [modules/cudev/CMakeFiles/opencv_cudev.dir/all] Error 2 Have you faced this problem? I follow this document step by step: https://jkjung-avt.github.io/opencv3-on-tx2/ Thanks |
@suatberkantgulen Unfortunately I did not found this problem during installation. The error message says that make is not able to find the file '/usr/lib/aarch64-linux-gnu/libGL.so'. Check if there is a '/usr/lib/aarch64-linux-gnu/libGL.so.1.0.0' on your Jetson . If yes, you should be able to fix the problem by creating a symbolic link using
You can change the libGL version accordingly. |
I see. But /usr/lib/aarch64-linux-gnu/libGL.so already exist. But document reference for path under tegra: cd /usr/lib/aarch64-linux-gnu/ I have only one file about libGL which is libGLX_nvidia.so.0 So i use this command: sudo ln -sf tegra/libGLX_nvidia.so.0 libGL.so It works but i am not sure that is a correct way. Thank you |
Hi again :) Firstly thanks for helps. i could build opencv 3.4 from source. I get another error in the second step When i build caffe. Error: Makefile:591: recipe for target '.build_release/src/caffe/layers/cudnn_conv_layer.o' failed I think problem is about the cudnn version check. Because JetPack 4.4 does not include version info in cudnn.h. Its inside cudnn_version.h. I add version info from cudnn_version.h to cudnn.h. But stil getting same error. By the way which cuda version are you using? |
@suatberkantgulen Please do not skip any step from that installation method. Now try this one and build again:
|
Packs already installed. I compare again but i can not find any differences between 2 file Here is my configuration of makefile:
|
@MuhammadAsadJaved Is your video the one posted by the author on youtube?Has your main.GoturnTracker.py been verified successfully? Your main.detect can only detect for a while or there is no problem. Can you share it if the operation is successful? Thank you |
@MuhammadAsadJaved In detectandtrack, the first line videopath=none, I don’t know if you noticed |
@gzc-123456-gzc No. I am using a different video, I remember I have verified the detector, it was working well but the tracker was not working. mainDetect.py detecting continuously without any failure if the drone is not too far. |
@MuhammadAsadJaved Thank you for the video link, I think it may be the problem of the target tracking weight file, you can try to retrain it |
@MuhammadAsadJaved Hello, is your problem solved? Is it a weight file issue? Or is it a code problem? If it is solved, can you tell us the reason for the inoperability? |
@gzc-123456-gzc Not resolved yet. Have same problem. Are you able to use it without any problem? I think it's not a weight problem. it's something wrong with the tracking code. |
@MuhammadAsadJaved Not resolved yet. Maybe this question needs to be asked to the author, and the author should know the problem if it runs successfully. Also, I don't know why the .weights files in many demo files are used differently. |
could you please share your .weights file |
Yes you are right. @gzc-123456-gzc Which one? Yolo or GoTurn? @berkantay |
@MuhammadAsadJaved
You can try add a comment on bbox = detecBBox[0] and delete comment on self.detectionList.add(self.frameCount-1,bbox, confidence) |
@gzc-123456-gzc The I have updated pytorch version for another project. I will try it again. Just change comment |
@MuhammadAsadJaved Hey, this is just my guess. I didn't run it successfully, and various environmental errors have caused me to be overwhelmed. But I don’t want to give up, I want to try。Also, which project is the other project you mentioned? |
Those changes do not make any difference. Just checked again. For GoTurn I do not know any other project. I also contact the coder of this project but he did not reply i also contacted his lab and teacher if they can update this project. The second option is Yolov3+DeepSort |
Hi,
I was running your project in Xavier NX, after a few tries, I was able to run it successfully. But there are these problems.
1- There is no detection nor tracking. See attached image 1.
2- The process throws errors and stopped after processing a few frames. See attached image 2.
Note: I thought it might be NX environment problem, then I tested it in GTX 1080 Ti, but still have the same problems.
I also tested mainGoturnTracker.py as well. It is also not tracking the object. So seems like it is a problem in the tracker.
The text was updated successfully, but these errors were encountered: