Comments (11)
I see that the latest update will work for Pascal annotation. But unfortunately, it will not work for my annotation
because in my annotation in <filename>
the extension of the file is not there
Here is a screenshot for my annotation
Good Luck
from darkflow.
Dear @EngShaheen you are using an old version of this repo, please update and tell me if it works or not. If the problem is still there, please give me exact steps to reproduce the problem, including dataset & annotation you are using.
from darkflow.
Thanks for your reply
I've just cloned a new version of this repo and tried again but I got another error
I am using two classes
infected good
I think I have parsed them successfully
also, I think I have initialized weights successfully
from darkflow.
I suspect you are using --savepb and --train options at the same time? If so, please finish training first before using --savepb (in combination with --load option). --savepb will disable every variable inside the network and turn them into constants, in order to produce a constant protobuf graph, so the net will not have any variable to be optimized (as in error statement).
Best of luck :)
from darkflow.
That's right , I was setting the flag of --savepd to be True
now, I set it to False
but I got another error
I really appreciate your effort
from darkflow.
Well this time I cant really say the fault is on my side. I believe the image the program is trying to read does not exist. Try printing out imPath
before doing anything in yolo/drawer.py/yolo_preprocess() and make sure that path does pointing to an image.
from darkflow.
I printed the image path and it's correct except that the extension of the image is written in small letters .jpg
, and all the extensions of the images in my dataset are in capital letters .JPG
here is a picture for the imPath
here is a picture for the extension of my dataset
is it case sensitive ? is there an easy way to change the parsing somehow, instead of doing it the hard way and renaming all my +1000 images in the dataset?
from darkflow.
well, I didn't know cv2 imread is case insensitive, I updated the code, please try again
from darkflow.
thank you very much for you help
I suppose it is working now 👍
but you should add
import os
at the beginning of the yolo/drawer.py
file
also, I suggest that you mention in the readme file that the annotation of the data should be the same format of the PASCAL data (xml file)
and there is a tool to annotate the data is called labelimg that output the same format
and also, I suggest that you make a default folder inside the repo for the innotation, training data and testing data
Have a nice day
from darkflow.
cool ! thanks for your suggestions, lots of work to be done :)
from darkflow.
@EngShaheen By the way, I think I figured a better way to do it than patching the error directly inside drawer.py. To avoid future errors, you may want to save the current state of training, pull the new code and re- clean.py and train again (with option --load [number of latest checkpoint]). Good luck.
from darkflow.
Related Issues (20)
- [Documentation] Link to the Android demo is broken
- tiny yolo predict a lot of bounding boxes for one class problem HOT 1
- Result is empty HOT 2
- PermissionError: [Errno 13] Permission denied: './ckpt/checkpoint' HOT 1
- How to put a darkflow model into Android Studio
- Importing to external project
- Accuracy HOT 1
- error in getting started
- Version of yolo from the yolo.cfg file
- Shrikant@ can you help in in regard of this.
- What's wrong with Darkflow?
- can't import darkflow
- Build Error darkflow on 20.04 Ubuntu
- Training own model
- How to convert tensorflow to darknet?
- Convert annotation video mat files to COCO
- Tensorflow update to TF 2.x
- python setup.py build_ext --inplace HOT 3
- pip install -e .
- NMS.pxd not found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from darkflow.