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
assert df.shape[0] != 0, 'No experiments to show. Try other filters.' #123
Comments
Hi there @ali3assi Looking at the example in the docs. import neptune
from neptunecontrib.viz.parallel_coordinates_plot import make_parallel_coordinates_plot
neptune.init('USERNAME/example-project')
make_parallel_coordinates_plot(html_file_path='my_visual.html',
metrics= ['epoch_accuracy', 'epoch_loss', 'eval_accuracy', 'eval_loss'],
params = ['activation', 'batch_size', 'dense_units', 'dropout', 'learning_rate', 'optimizer'],
tag='optuna') And the error you are getting I think the reason could e the fact that you have a |
Thanks a lot for your help @jakubczakon. I will test it when my training finish. But you have reason, in my experiment ali-22 I don't tag my experiment. SO almost you have reason. |
Hi @jakubczakon I set params to true. and i get the following:
I am not on netbook. I just want to save the generated image in an html and saved in Neptune in my project. In other words can I saved the picture in the artifacts tab. |
Looking at the code, it seems that even when it is saved it tries to plot it (and fails outside of notebooks). Could you just wrap it in try catch and I'll add a flag later today or tomorrow? try:
make_parallel_coordinates_plot(...)
except Exception:
pass
neptune.log_artifact('my_visual.html') |
Alternatively, which could be even better is to do it in the notebook and then log the notebook checkpoint to Neptune -> it will be interactive as well. Just like this one: You can read more about notebook tracking here https://docs.neptune.ai/keep-track-of-jupyter-notebooks/index.html |
with this one i get:
|
You need to create an experiment first (before creating the plot) so that you can log this chart to an experiment so import neptune
neptune.init() # your credentials
neptune.create_experiment('experiment comparison')
try:
make_parallel_coordinates_plot(...)
except Exception:
pass
neptune.log_artifact('my_visual.html') |
It works but it create my_visual.html which is empty (i.e. i have a new line in the dashbord called ali-23). It is empty because i dont make the traning. So i think we are so close. Just we need to attach a given existing experiment lile ali-22 to my_visual.html. |
parallel coordinates plot doesn't make much sense for one experiment though -> you should have a bunch of experiments you want to compare first. I think we should try to :
|
@jakubczakon may be you have reason. I am looking to draw the curves for the different hyperparameters trials in one experiments. |
Im trying to use hiplot with neptune.
I get the following exception:
in my code: I call the
make_parallel_coordinates_plot
after the optimization step. So in Neptune, I can see for example, in my workspace, the number of the experiment let say ali-22.I tried to give the experiment id explicitly by setting the
experiment_id = 'ali-22'
inmake_parallel_coordinates_plot
but the same exception is thrown.Any suggestion to solve this is so appreciated.
The text was updated successfully, but these errors were encountered: