DeepLabCut-live icon indicating copy to clipboard operation
DeepLabCut-live copied to clipboard

Bump tensorflow version

Open stes opened this issue 5 months ago • 6 comments

See #103. Cannot foresee all possible side implications (windows eg), but this would be a useful change, as google colab now ships tf 2.15, and installing dlc live first re-installs TF on colab:

  Attempting uninstall: tensorflow
    Found existing installation: tensorflow 2.15.0
    Uninstalling tensorflow-2.15.0:
      Successfully uninstalled tensorflow-2.15.0

Would it maybe be possible to remove the restriction fully?

stes avatar Feb 03 '24 22:02 stes

Seems like this URL needs to be fixed first:

image

stes avatar Feb 03 '24 22:02 stes

looks like previously there was reason to remove cap anyway :): https://github.com/DeepLabCut/DeepLabCut-live/pull/103#issuecomment-1584519710

sneakers-the-rat avatar Feb 04 '24 07:02 sneakers-the-rat

2.15 isn't compatible with dlc unfortunately... and now one needs to downgrade Cuda on Colab too (see open issues on main repo/PR from @n-poulsen. https://github.com/DeepLabCut/DeepLabCut/commit/258b19b427fdabf395e51266ea95d300e3ef5ad8

Plan is to roll out dlc3 this month to avoid all of this 🙌

MMathisLab avatar Feb 04 '24 09:02 MMathisLab

Yes, I think should open an issue clearly indicating at what TF/CUDA we stop here. And that new users should switch to: https://github.com/DeepLabCut/DeepLabCut-live-pytorch [WIP] 🚧

AlexEMG avatar Feb 04 '24 11:02 AlexEMG

aha, i see last supported version of tf is 2.10: https://github.com/DeepLabCut/DeepLabCut/issues/2509#issuecomment-1933972939

Yes, I think should open an issue clearly indicating at what TF/CUDA we stop here. And that new users should switch to: https://github.com/DeepLabCut/DeepLabCut-live-pytorch [WIP] 🚧

is it time to set a deprecation warning and get ready to say farewell to this olde package then? i can prepare the horn section and champagne for the ceremony

sneakers-the-rat avatar Feb 14 '24 08:02 sneakers-the-rat

Yes! Actually we should set this warning when loaded; support ends at TF2.10 (for windows); and DLC is fully moving to pytorch 🤩🍾

MMathisLab avatar Feb 14 '24 08:02 MMathisLab