-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Q]wrong steps appears in all charts #2444
Comments
@besbesmany the default "step" with wandb increments every time |
can you give me example of code to do that I really don't understand how to make that |
can you please give me colab file that contains how to call and modify I still didn't use full features of wandb |
@besbesmany you won't be able to modify the way steps are logged with the default yolov5 implementation. We'll need to release a new version of the yolov5 integration to support this. |
when this version will be released? |
can I show same charts with steps divided by 2, so I can get the correct chart |
Yes, but it's not clear to me why it's important. Can you explain to me why the actual value of the step is important to you? I would imagine if all runs were using the same step simply being able to compare them is the important thing. You can click the "edit" icon (pencil) when you mouse over a chart. Then select the "Expressions" tab. From there you can add an X-Axis expression as shown below: |
Thank you sir for your time with me, I really appreciate this my epochs was 500 , I have nearly 9 experiments can I do step/2 for certain charts only? |
Unfortunately there isn't a way to make the expression work for only 4 of the runs. You'll need to run them again if you want them to be the same as the others. To change the x-axis for a specific chart just modify the X Axis Expression. In your screenshot you clicked "Add an expression", that's not what you want. |
I'm facing the same problem. When I ran the same model for several times with some minor changes (I'm believe it wouldn't affect the log step), the charts will have some step difference... |
@Sun-Rider every time you run |
@Sun-Rider @besbesmany This is not intended and is definitely a bug. This was probably introduced by a revamp of logger API that went out a few days ago which unifies wandb and tb logger. Earlier Thank you for reporting this.Feel free to tag me in any other such issues :) |
@AyushExel when this will be solved If you can sir? |
@besbesmany we're working on multiple features right now, so you can expect this to be fixed sometime next week. The doubling of step count won't mess with the accuracy of your metrics. I'll let you know once the fix is merged. All you'll need to do is run I'm working on revamping the README for W&B integration. I'll put up a PR for it soon but if you want a short reference of things you can do with yolo ,W&B artifacts and tables, I've made this doc public -> https://wandbai.notion.site/YoloV5-W-B-ec06daa32df44b6bb918d26759fdbb8f It contains all the advanced features of the integration and some FAQs. Thanks for your patience! |
@AyushExel thank you sir 1- get max value of chart train.py 2- also get Percision-recall curve |
@besbesmany wait, you're getting the error in the existing train script? I'm talking about point 1. |
the first point Mr. @vanpelt (thanks for him alot) gives me the code to add in train.py to get max mAP it works great for 3 runs then it gives me that error (No module named 'utils.wandb_logging' ), I found this folder inside yolov5 folder but the colab couldn't see it , I don't know why ... 2- I need pr_curve , F-score if you can to compare several runs together 3- I want train data accuracy chart , yolov5 have only (matrix/mAP0.5) for validation data, I would like to compare training and validation data together if you can Thanks a lot for your interest for my needs |
@besbesmany Okay. 1. should be simple enough. I'll do it. |
@besbesmany Your original issue of step counts being doubled is fixed. See the latest run that I did for 3 epochs https://wandb.ai/cayush/yoloV5/runs/2fbkc326?workspace=user-cayush. |
thank you sir |
This issue is stale because it has been open 60 days with no activity. |
I have augmented dataset from roboflow
when i run train.py
the steps (epochs) suddenly doubled and the chart instantly and increase accuracy
the yellow line runs now at 190 epoch
yesterday orange line runs nearly to 220
but they gives double step instantly
this is my train line
!python train.py --img 416 --batch 16 --epochs 500 --data aerialRobo.yaml
--weights yolov5x.pt --cache --project train/ --name AugOriginalAerial416
--bbox_interval 30 --save_period 30 --device 0 --upload_dataset
what should I do ?
The text was updated successfully, but these errors were encountered: