AttributeError: 'Trainer' object has no attribute 'running_sanity_check" #11926
-
Hi, I am trying to optimise the hyperparameters of my network using raytune. My implementation is pretty much based on this: When I train my network using pre-set hyperparameters, it works smoothly. The problems come from the callback, so when I add the following line: Anyone knows how to solve this?? My code can be found here: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I think it dues to this : ray-project/ray#20741 As of ray[tune]==1.10.0, either downgrade your pytorch-lightning to 1.4. |
Beta Was this translation helpful? Give feedback.
I think it dues to this : ray-project/ray#20741
As of ray[tune]==1.10.0, either downgrade your pytorch-lightning to 1.4.
Or upgrade your raytune to be compatible with pytorch-lightning 1.5+ ( the fix has been merged in this commit ray-project/ray#20562).
$ sudo pip install ray==1.11.0rc0