Comments (3)
Hi @bessinz, thank you for writing in. The metric/goal keys are used in Bayesian search, as detailed here: https://docs.wandb.ai/guides/sweeps/sweep-config-keys#bayesian-search. They serve as an objective function to be optimized. For random search, it isn't necessary to provide a metric. However, if you are interested in a particular metric, you can provide it, as it can be later used to retrieve the best run of a sweep from the API: https://docs.wandb.ai/guides/track/public-api-guide#get-the-best-run-from-a-sweep. Let me know if you had any more questions about it.
from wandb.
Hi @thanos-wandb, thank you for your explanation. So if I don't use it in my sweep config, I still can identify the best hyperparameter config according to one of the several metrics in output? I am using YOLOv8 architecture so I have precision, recall, mAP50 and mAP50-95 metrics that appear in the sweep output when plotting the sweep comparer (with the parallel coordinates tool in wandb api).
from wandb.
Hi @bessinz indeed, for random search you won't need to specify it, and you should be able to identify the best metric either from the UI (eg in parallel coordinates panel) or from the API as follows:
best_run = sweep.best_run(order='-summary_metrics.mAP50')
best_run.summary.mAP50
Please note the -
/+
in the order
depending if you wanted to sort the metric as ascending/descending respectively. I hope this helps! Let me know if you had any more questions.
from wandb.
Related Issues (20)
- [Bug-App]: [0.18.0]: Build fails on FreeBSD: undefined: NewGPUNvidia HOT 6
- [Q]: Editing Tags when uploading tensorboard data with `wandb sync` HOT 2
- [Bug]: Core service dropping data, sync won't recover HOT 9
- [Bug]: Clients retry 1_000_000 times by default HOT 2
- [Q]: Encountered permission denied (<Response [403]>) when calling wandb sync. HOT 4
- [Feature]: Self-Contained Working Directories HOT 1
- [Bug]: Coonection error suddenly happens HOT 3
- [Bug]: wandb.run.resumed not set correctly when using wandb core HOT 4
- [Bug-App]: Broken Pipe HOT 2
- [Bug]: `Run.log_artifact()` doesn't accept `tags` argument in v0.18.0
- [Bug-App]: Group information is not available in the plots HOT 5
- [CLI]: WARNING: No AMD GPUs specified HOT 3
- *errors.errorString: tensorboard: failed reading next event: tensorboard: unexpected CRC-32C checksum for event header
- [Bug]: wandb does not recognize GPU on Windows 11 HOT 2
- [Q]: When using deepspeed for multi-machine distributed training and setting reported_to = "wandb" in the trainer arguments, wandb will initialize multiple identical wandb runs. For example, four machines will have four identical wandb runs. How can I set it to create only one run? Should I add the wandb initialization code in the train code? HOT 2
- *errors.errorString: file transfer: upload: failed to upload: 400 Bad Request
- [Bug]: wandb-core is not compiled for my system HOT 5
- [Bug]: Setting config value triggers pyright error HOT 3
- [Bug-App]: Lower limit is undefined on grouped line plot with smoothing HOT 1
- [Q]: Multiple wandb logs on one Slurm node HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wandb.