ssd_tensorflow_traffic_sign_detection
ssd_tensorflow_traffic_sign_detection copied to clipboard
Error during run the command "create_pickle.py"
Thank you for your code. Great Work. I got the annotations folder after run the two codes for data processing : extractAnnotations.py and mergeAnnotationFiles.py. The annotation folder contains of 2325 crop images of stop and pedestrian detection sign. Now the problem is occurred when I run pickle file (create_pickle.py) for pickling the data of resize image. I got a pickle file name as "data_raw_400x260.p" but the size is 6 byte. If this problem is not solved then I can't move to next stage. Please help me.
me too
I get problem in 'create_pickle.py' too . I only renamed the file 'allAnnotations.csv' to 'mergedAnnotations.csv', and I get this problem
Traceback (most recent call last):
File "create_pickle.py", line 42, in
@Tian14267 Go to the tools
folder and run
python extractAnnotations.py copy ../allAnnotations.csv
mv mergeAnnotationFiles.py ../
cd ..
python mergeAnnotationFiles.py frame mergedAnnotations.csv
I was able to run create_pickle.py
after running these commands.
Hello, @TanmoyDL @c1a1o1 @Tian14267 @jacsmith21 @georgesung I have just met the problem "No such file or directory: 'mergeAnnotations.csv'", How should I get this file ? or what is it in the file?
@JoeyQWu You have to create mergedAnnovations.csv
yourself using this command:
python extractAnnotations.py copy ../allAnnotations.csv
Cannot install the libraries of Image and ImageDraw and ImageFont
@BridgeQZH Those are all Pillow
modules.
Install them with this command:
pip install Pillow
Then you should be able to import them like this:
from PIL import ImageFont, ImageDraw, Image
@BridgeQZH Those are all
Pillow
modules.Install them with this command:
pip install Pillow
Then you should be able to import them like this:
from PIL import ImageFont, ImageDraw, Image
@jsmith still No module named Image.why?i want to know.
@wqyolo I would guess that the PIL
library you are importing is not the Pillow
library you think it is. I don't have a good answer for you but I would double check that the library you imported and the library that you installed are in fact the same!
@wqyolo I would guess that the
PIL
library you are importing is not thePillow
library you think it is. I don't have a good answer for you but I would double check that the library you imported and the library that you installed are in fact the same!
hello.i use windows.how to make it in windows order?could you help me? ln -s $LISA_DATA/resized_images_* . ln -s $LISA_DATA/data_raw_*.p .
Does this help? I don't have access to a Windows machine but this google search might help if the link above doesn't work for you!
Also, Windows Subsystem for Linux might help if you are using Windows 10.
Thank you for your code. Great Work. I got the annotations folder after run the two codes for data processing : extractAnnotations.py and mergeAnnotationFiles.py. The annotation folder contains of 2325 crop images of stop and pedestrian detection sign. Now the problem is occurred when I run pickle file (create_pickle.py) for pickling the data of resize image. I got a pickle file name as "data_raw_400x260.p" but the size is 6 byte. If this problem is not solved then I can't move to next stage. Please help me.
where are the extractAnnotations.py and mergeAnnotationFiles.py?
See the instructions. You have to "download the LISA Traffic Sign Dataset". From what I recall, the files are somewhere in there.