Comments (4)
@BalogneseCoder Appreciate if you can provide a code example demonstrating how you your parameters are defined and passed to HPO.
from clearml.
param1 = DiscreteParameterRange(name='param1', values=[0, 1])
param2 = DiscreteParameterRange(name='param2', values=[0, 1])
param3 = DiscreteParameterRange(name='param3', values=[0, 1])
paramset1 = ParameterSet([{'param4': DiscreteParameterRange(name='param4', values=[0]),
'param5': DiscreteParameterRange(name='param5', values=[0])},
{'param4': DiscreteParameterRange(name='param4', values=[1]),
'param5': DiscreteParameterRange(name='param5', values=[1])}])
paramset2 = ParameterSet([{'param6': DiscreteParameterRange(name='param6', values=[10]),
'param7': DiscreteParameterRange(name='param7', values=[10])},
{'param6': DiscreteParameterRange(name='param6', values=[20]),
'param7': DiscreteParameterRange(name='param7', values=[20])}])
hparams = [param1, param2, param3, paramset1, paramset2]
from clearml.
optimizer = HyperParameterOptimizer(
base_task_id='696d6e7a4d154d0286ba5df27f9de52d',
hyper_parameters=hparams,
objective_metric_title='test_title',
objective_metric_series='test_series',
objective_metric_sign='max',
# setting optimizer
optimizer_class=GridSearch,
# project for child tasks
spawn_project='paramset_test_project/children',
# configuring optimization parameters
execution_queue='someQueue',
save_top_k_tasks_only=2,
max_number_of_concurrent_tasks=2,
optimization_time_limit=1440,
total_max_jobs=2,
)
from clearml.
Hi @BalogneseCoder !
2024-02-12 20:17:51,239 - clearml - WARNING - Could not determine if Hydra is overriding a Config Group param1=<clearml.automation.parameters.DiscreteParameterRange object at 0x7f86043163b0> so instead of value the task is provided with object itself, for sure it fails after that.
This looks like a Hydra error. We issue this warning when something went wrong when checking if an override corresponds to a config group. How could this happen? Do you have some simple runnable code that contains both the HPO code and the task you are trying to optimize, to help us reproduce this?
from clearml.
Related Issues (20)
- legend titles broken in experiment comparison HOT 1
- Preview text files HOT 1
- Registering models from lightning not working (different than pytorch-lightning) HOT 2
- GPU monitoring failed getting GPU reading, switching off GPU monitoring HOT 6
- async variant of get_mutable_local_copy HOT 2
- Light theme for the dashboard HOT 1
- Plot comparison in a single figure not working for plots other than barplots HOT 3
- API calls fail for model with deleted parent task. HOT 1
- Scalar logging bug with Fire HOT 6
- multilanguage support HOT 1
- is it possible to upload bytes object instead files? HOT 1
- Add retries and chunking parameters to upload_folder HOT 2
- Add_external_files for Hyperdatsets HOT 1
- Add Progress Bar for downloading (and maybe uploading) artifacts HOT 2
- [ERROR] [CLEARML.auth] Error getting token - FileServer HOT 1
- Many ClearML Dataset functions and parameters not available for Hyperdatasets, also it would be clearer to change name of allegroai Dataset to Hyperdataset HOT 1
- How to generate api services content?
- Scalars, Plots, and Debug Samples hang and stop logging with large git diff and Tensorboard Images HOT 3
- Relative path is incorrect when using `Dataset.add_external_files` for local file without the `file://` prefix HOT 1
- RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock. 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 clearml.