weijiawu / TransVTSpotter

A new video text spotting framework with Transformer
77 stars 11 forks source link

No res_video_1.json after running "python track_tools/convert_ICDAR15video_to_coco.py" #8

Open liuruijin17 opened 2 years ago

liuruijin17 commented 2 years ago

Hi,

Thanks for your great work!

I am a bit confused after I run the python track_tools/Evaluation_ICDAR15_video/vis_tracking.py Then, I get "No such file or directory: './output/ICDAR15/test/best_json_tracks/res_video_1.json'

I have seen issue #2 , and confirm I have run the python track_tools/convert_ICDAR15video_to_coco.py But, it seems that the "res_video_1.json" has not been generated successfully. I only find "train.json" and "test.json" under the "annotations_coco_rotate/", should I name one of them to "res_video_1.json" and copy it to "./output/ICDAR15/test/best_json_tracks/res_video_1.json"?

Plz, help me! Thanks a lot!

BigWhit commented 2 years ago

I have the same problem. After run python3 track_tools/convert_ICDAR15video_to_coco.py, I get "annotations_coco_rotate/". Then I run python3 track_tools/Evaluation_ICDAR15_video/vis_tracking.py", It warns "No such file or directory: './output/ICDAR15/test/best_json_tracks/res_video_1.json'". I want to see visualize the results. How to test the model and see the visualized results?

weijiawu commented 2 years ago

I have the same problem. After run python3 track_tools/convert_ICDAR15video_to_coco.py, I get "annotations_coco_rotate/". Then I run python3 track_tools/Evaluation_ICDAR15_video/vis_tracking.py", It warns "No such file or directory: './output/ICDAR15/test/best_json_tracks/res_video_1.json'". I want to see visualize the results. How to test the model and see the visualized results?

vis_tracking.py is not used as the visualization for the generated annotation, it visualizes the prediction results of the network.

Epiphqny commented 2 years ago

I have the same problem. After run python3 track_tools/convert_ICDAR15video_to_coco.py, I get "annotations_coco_rotate/". Then I run python3 track_tools/Evaluation_ICDAR15_video/vis_tracking.py", It warns "No such file or directory: './output/ICDAR15/test/best_json_tracks/res_video_1.json'". I want to see visualize the results. How to test the model and see the visualized results?

vis_tracking.py is not used as the visualization for the generated annotation, it visualizes the prediction results of the network.

@liuruijin17 How to get the prediction results?

weijiawu commented 2 years ago

I have the same problem. After run python3 track_tools/convert_ICDAR15video_to_coco.py, I get "annotations_coco_rotate/". Then I run python3 track_tools/Evaluation_ICDAR15_video/vis_tracking.py", It warns "No such file or directory: './output/ICDAR15/test/best_json_tracks/res_video_1.json'". I want to see visualize the results. How to test the model and see the visualized results?

vis_tracking.py is not used as the visualization for the generated annotation, it visualizes the prediction results of the network.

@liuruijin17 How to get the prediction results?

I have updated the inference script.

And one stronger video text spotting method TransDETR(Better performance and simpler framework) can be found here.