ptran1203 / traffic_sign_detection

Zalo aI 2020: Traffic sign detection using Retinanet and image tiling
26 stars 9 forks source link

Lack of file submission.json? #4

Open huongptt-emma opened 3 years ago

huongptt-emma commented 3 years ago

The code is error when i try to open submission.json file. Can you explain it for me? Thank u so much!

ptran1203 commented 3 years ago

Hi, Could you tell me more detail about the error, and do you remember the error message?

huongptt-emma commented 3 years ago

This is error message: No such file or directory: '/content/drive/MyDrive/zalo_ai/submission.json' I cannot find the submission.json file in your project when i clone it form github to google colab.

ptran1203 commented 3 years ago

I guess you're running this step image

Since the file is lost (I don't know, maybe I removed it). You can skip this part by removing that cell and continue to run

ptran1203 commented 3 years ago

You can directly continue from this step

image

huongptt-emma commented 3 years ago

When i skip 2 cells, the remain process can run normally but it can not detect the traffic sign in the photo :((( Anyway, thanks for your supporting!

image

ptran1203 commented 3 years ago

Someone has edited the weight so the detection is bad, please try to replace

weight_path = "/content/drive/MyDrive/zalo_ai/weight_dense.h5"

by

weight_path = "/content/drive/MyDrive/zalo_ai/weight_dense_best.h5"

And run the Inference cell again

NOTE: Remember to refresh your storage before running (The middle button) image

huongptt-emma commented 3 years ago

That is an effective way to detect the traffic sign in the photo. However, after your project is updated, this error happens. Can you check the code? image image

ptran1203 commented 3 years ago

This is because the image resolution is too big so the GPU is overloaded. I have reduced the image size, please restart your notebook and check again