Git Product home page Git Product logo

Comments (13)

jsmith avatar jsmith commented on May 24, 2024 1

@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

from ssd_tensorflow_traffic_sign_detection.

c1a1o1 avatar c1a1o1 commented on May 24, 2024

me too

from ssd_tensorflow_traffic_sign_detection.

Tian14267 avatar Tian14267 commented on May 24, 2024

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
image_files = os.listdir('annotations')
FileNotFoundError: [Errno 2] No such file or directory: 'annotations'
Can you tell me how to solve this problem ?I am eager with this.

from ssd_tensorflow_traffic_sign_detection.

jsmith avatar jsmith commented on May 24, 2024

@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.

from ssd_tensorflow_traffic_sign_detection.

JoeyQWu avatar JoeyQWu commented on May 24, 2024

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?

from ssd_tensorflow_traffic_sign_detection.

jsmith avatar jsmith commented on May 24, 2024

@JoeyQWu You have to create mergedAnnovations.csv yourself using this command:

python extractAnnotations.py copy ../allAnnotations.csv

from ssd_tensorflow_traffic_sign_detection.

BridgeQZH avatar BridgeQZH commented on May 24, 2024

Cannot install the libraries of Image and ImageDraw and ImageFont

from ssd_tensorflow_traffic_sign_detection.

wqyolo avatar wqyolo commented on May 24, 2024

@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.

from ssd_tensorflow_traffic_sign_detection.

jsmith avatar jsmith commented on May 24, 2024

@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!

from ssd_tensorflow_traffic_sign_detection.

wqyolo avatar wqyolo commented on May 24, 2024

@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!

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 .

from ssd_tensorflow_traffic_sign_detection.

jsmith avatar jsmith commented on May 24, 2024

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.

from ssd_tensorflow_traffic_sign_detection.

Lipurple avatar Lipurple commented on May 24, 2024

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?

from ssd_tensorflow_traffic_sign_detection.

jsmith avatar jsmith commented on May 24, 2024

See the instructions. You have to "download the LISA Traffic Sign Dataset". From what I recall, the files are somewhere in there.

from ssd_tensorflow_traffic_sign_detection.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.