Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A first POC to run this benchmark with benchopt.
The results looks like these after running
![image](https://private-user-images.githubusercontent.com/3321081/350375102-5711e8e5-c170-461b-8338-413b5ed09e79.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MzY2NzAsIm5iZiI6MTczOTkzNjM3MCwicGF0aCI6Ii8zMzIxMDgxLzM1MDM3NTEwMi01NzExZThlNS1jMTcwLTQ2MWItODMzOC00MTNiNWVkMDllNzkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTlUMDMzOTMwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTQxNTIwNGQ3MTNjZDA4NDI3Y2M4YTQ5MGI0MWM3YTlhOWE2ZWIyNzBhNGZkNjQzMWU1NTcxNDgwYWIyMGU3YyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.o80DufEQmj4IuVGQ15j2kXII_aR_CmmalshohUMBoBM)
benchopt run benchopt_benchmark/ -n 100 -s SGD[max_epochs=20,learning_rate=[2e-3,1e-3]] -d MNIST[seed=42,activation=ReLU] -r 2
(note that you probably need to install the dev version of benchopt as
pip install git+https://github.com/benchopt/benchopt
to have the plot running.)There are several issues with this implem:
last
and not thebest
Trainer
.But that is already a good basis to discuss if this makes sense and if we should continue further :)
Happy to chat IRL in ICML if you are going!