dshahrokhian / YOLO_tensorflow

:oncoming_taxi: Object Detection (YOLOv1) implentation in tensorflow, with training, testing and video features.
42 stars 22 forks source link

ImportError: No module named data_parsing #1

Closed seongkyun closed 7 years ago

seongkyun commented 7 years ago

I tried to run this code. but kernel prints out

I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcublas.so locally I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcudnn.so locally I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcufft.so locally I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcuda.so.1 locally I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcurand.so locally Traceback (most recent call last): File "network/YOLO_small_tf.py", line 7, in from data_parsing import voc_utils ImportError: No module named data_parsing

what should i do? plz help me.

lionelkusch commented 7 years ago

The problem is because python don't have the directory data_parsing in the path. You can try to change the file "network/YOLO_small_tf.py" : Put the line 8 and 7 at the beging of the file.

In other case, How do you run the code ? (commande line, IDE, ...) What is your operating system ?

dshahrokhian commented 7 years ago

Hi,

Can you try running dataparsing/setup.py? That should add the dataparsing to the lib path.

Thanks, Dani

seongkyun commented 7 years ago

thx. I ran setup.py and it runs. but there is another problem.