Gradiant / pyodi

Python Object Detection Insights
https://gradiant.github.io/pyodi/
Mozilla Public License 2.0
192 stars 16 forks source link

the results are not displayed or saved, #162

Closed cyh-123 closed 3 years ago

cyh-123 commented 3 years ago

When I run pyodi ground-truth ../instances_train2017.json according to the tutorial, the results are not displayed or saved, and the code does not report errors. The following are the results:

2021-08-27 21:57:18.223 | INFO     | pyodi.core.utils:coco_ground_truth_to_df:38 - Loading Ground Truth File
2021-08-27 21:57:18.302 | INFO     | pyodi.core.utils:coco_ground_truth_to_df:48 - Converting COCO Ground Truth to pd.DataFrame
2021-08-27 21:57:18.418 | INFO     | pyodi.plots.common:plot_scatter_with_histograms:61 - Plotting Scatter with Histograms
2021-08-27 21:57:18.735 | INFO     | pyodi.plots.common:plot_scatter_with_histograms:61 - Plotting Scatter with Histograms
github-actions[bot] commented 3 years ago

Branch issue-162-the_results_are_not_displayed_or_saved created!

mmeendez8 commented 3 years ago

Hi @cyh-123, it works well for me. Note that plotly by default opens a tab in your browser, so you can interact with the plots. Might be related with https://community.plotly.com/t/plotly-not-loading-in-browser/39108/6

Could you provide a little bit more info about your environment?

Operating System: Python version: Python env: (conda, venv, ..): Default browser:

cyh-123 commented 3 years ago

Thank you very much, I have solved this problem, i changed "output: Optional[str] = None" to my own path in "pyodi/pyodi/plots/common.py"

mmeendez8 commented 3 years ago

Note you can also pass the argument output:

pyodi ground-truth ../instances_train2017.json --output [your-output-folder-path]

cyh-123 commented 3 years ago

ok, thank you very much, I recommend you can modify your readme is more better.

------------------ 原始邮件 ------------------ 发件人: "Gradiant/pyodi" @.>; 发送时间: 2021年8月28日(星期六) 晚上8:11 @.>; @.**@.>; 主题: Re: [Gradiant/pyodi] the results are not displayed or saved, (#162)

Note you can also pass the argument output:

pyodi ground-truth ../instances_train2017.json --output [your-output-folder-path]

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.