Skip to content

🔨🔨🔨(mmplot)used to draw graphs of multiple index parameters such as algorithm accuracy and speed of multiple deep learning models.

License

Notifications You must be signed in to change notification settings

isLinXu/model-metrics-plot

Repository files navigation

model-metrics-plot

model-metrics-plot(mmplot)

English | 简体中文


GitHub watchers GitHub stars GitHub forks GitHub followers Build Status imgGitHub repo size GitHub language count GitHub last commit GitHubimg

😎 About

This project is developed based on libraries such as Pandas and Matplotlib, and can be used to draw line graphs of multiple index parameters such as algorithm accuracy and speed of multiple deep learning models.

features

use txt or log file to plot

  • loss plot

use csv data to plot

  • line plot
  • bar plot
  • radar plot
  • tree plot
  • custom plot

🥰Result

plot

image
data/Pytorch_models_data.csv data/PaddleYOLO_models_data.csv data/MMYOLO_model_data.csv
image image mllm_chart_acc1
data/llm_eval_data.csv data/tree.json
image image image
image bar

🔨Usage

requirement

pip install matplotlib
pip install pandas

mmplot install

git clone [email protected]:isLinXu/model-metrics-plot.git
cd model-metrics-plot
pip install -e .

run

python3 main.py

or use your custom data csv

 python3 main.py -c 'csv_path' -n 'figture_name' -p 'plot_type' -t 'title_name' -x 'xlabel_name' -y 'ylabel_name' -f font_size -g False -v 'value_type' -r 'colors' 

line

python3 main.py -c data/model_data.csv -n 'plot.jpg' -p 'line' -t 'MS COCO Object Detection' -x 'PyTorch FP16 RTX3080(ms/img)' -y 'COCO Mask AP val' -f 10 -v 'mAP' -r '#0000FF'

python3 main.py -c data/PaddleYOLO_extra_model_data.csv -n 'plot.jpg' -p 'line' -t 'MS COCO Object Detection' -x 'PyTorch FP16 RTX3080(ms/img)' -y 'COCO Mask AP val' -f 10 -v 'mAP' -r '#0000FF'
image

bar

python3 main.py -c data/MMYOLO_model_data.csv -p bar
image

radar

python3 main.py -c data/mllm_acc_eval-csv1029.csv -p radar

image

tree

image

About

🔨🔨🔨(mmplot)used to draw graphs of multiple index parameters such as algorithm accuracy and speed of multiple deep learning models.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published