-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Training complete, but can't test the neural net #1127
Comments
Checkpoint is new file.... but ....you have to use .meta file you have to use .pb file for testing. When you train the model on terminal you have to add in your command "--savepb " which can save your .pb file in your built_graph folder.
After training two new files created in the form of .meta and .pb extension in the built_graph folder. Use this link to see how to use ............ Your new weight file are .meta and new configuration file are in .pb form extension. I think your issues are cleared.Please like My comment and close both issues after solved. |
Thank you for the reply. I ran the training again with --savepb and now I got the built graph folder with .meta and .pb files Then I tried to start copying code from your link, but I couldn't figure out how to import TFNet
Any tips? Thank you. I'll close the issue asap |
Can you send Error to me ?........ |
While running your code Check are you in the right or main (in My case My folder name is Darkflow-object-detection) folder. |
Hi, Thank for the reply. I'm still trying to understand why I can't find the subfolder/class. https://stackoverflow.com/questions/59810226/python-3-6-import-subdirectorys-not-working-in-pycharm |
I don't know why not showing in your system. Download again this github project (https://github.com/thtrieu/darkflow) and check and compare it these files are present in present github file(Don't replace it first match and if file are missing then copy and paste on that section.) |
Hello! I did that, but when I run the code the boundbox is not appearing on the image. |
Hi, so I managed to solve to problem by using absolute paths. I'm still having problems but this is solved import cv2 #Open Source Computer Vision is a library which helps in real-time computer vision and used for Image Processing import built_graph define the model options and runTraining the modeldefine the model options and run#This step involves training your model based on dataset and labels you generated* options = {
tfnet = TFNet(options) |
Hi,
I'm following this tutorial, but I'm not sure I understand what is happening in the end of the tutorial. I'm using a custom dataset (pictures of playing cards) that I have trained already.
https://github.com/thtrieu/darkflow
I have successfully trained the model and there is now a checkpoint file in the ckpt folder.
Also I have created a small video that captures the screen which has a still image, which I'm trying to detect. Here a picture of the card that appears in the video:
https://ibb.co/T8dBGH7
Should I run one of these commands to test my network against the video?
I've understood that the checkpoint file is my new weight file, so can I just rename the checkpoint file name to match "yolo-new.weights"?
What is the yolo-new.cfg file? Where can I find it or how do I create it? This is not explained in the tutorial
Thank you so much. I'd love to get this to work
The text was updated successfully, but these errors were encountered: