ankilab / DeepD3

Apache License 2.0
19 stars 6 forks source link

The dependency of tensorflow.keras #4

Open TsungChihTsai opened 7 months ago

TsungChihTsai commented 7 months ago

I use the same method in the google colab

(your Tutorial: DeepD3 train your own neural network) image

https://deepd3.forschung.fau.de/

I think it's the issue about the dependency. I attempted to install as follow:

!pip install deepd3 !pip install segmentation_models !pip uninstall keras !pip install keras==2.2.4 !pip install tensorflow-keras

However, it's still not work.

anki-xyz commented 5 months ago

I was just trying this now; import tensorflow as tf from tensorflow.keras.optimizers import Adam just works fine for me on Colab... (also installing segmentation_models and deepd3 before)

image

TsungChihTsai commented 5 months ago

I tried the first two codes are workable. After I installed two modules of DeepD3 and segmentation_models, I still face the issue of segmentation_models.

Get Outlook for iOShttps://aka.ms/o0ukef


From: anki-xyz @.> Sent: Wednesday, March 20, 2024 10:46:55 AM To: ankilab/DeepD3 @.> Cc: TsungChihTsai @.>; Author @.> Subject: Re: [ankilab/DeepD3] The dependency of tensorflow.keras (Issue #4)

I was just trying this now; import tensorflow as tf from tensorflow.keras.optimizers import Adam just works fine for me on Colab... (also installing segmentation_models and deepd3 before)

image.png (view on web)https://github.com/ankilab/DeepD3/assets/11031615/cc56c9f3-0587-4f7f-9e2f-eaefa1ceec96

— Reply to this email directly, view it on GitHubhttps://github.com/ankilab/DeepD3/issues/4#issuecomment-2009749485, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5PHX5NPBEQOTB4PATR7EV3YZGON7AVCNFSM6AAAAABCGDPGYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBZG42DSNBYGU. You are receiving this because you authored the thread.Message ID: @.***>

anki-xyz commented 3 months ago

we have since a couple of weeks a quick tip on the main DeepD3 website, leading to this StackOverflow post