-
Notifications
You must be signed in to change notification settings - Fork 58
Conversation
@susnato |
https://colab.research.google.com/drive/1YS-G6DML1xq3AhlNpKmh18Dc4tkn9T4U?usp=sharing It's the runnable version of the notebook. |
This is much better. But a few more things:
Maybe rewrite as
|
Hi, @murphyk thanks for your feedback,
That is why I was running that code to install tensorflow-cpu and other things however, it is working fine without those lines as you said.
And I was getting this error, "ValueError: unsupported pickle protocol: 5", I searched online and found out that it happens because of "For pandas users who saved something to a pickle file with protocol 5 in python 3.8 and need to load it into python 3.6 which only supports protocol 4. Link for the StackOverflow thread is this : https://stackoverflow.com/questions/63329657/python-3-7-error-unsupported-pickle-protocol-5,
Pushing the commits in a moment! |
Hi, @murphyk I did those changes as described above and pushed again, if you want to view through Google Colab, the link is the same, https://colab.research.google.com/drive/1YS-G6DML1xq3AhlNpKmh18Dc4tkn9T4U?usp=sharing . |
Hi, @murphyk could you please tell me if the notebook I made is ok or not since I want to solve another issue but can't start until I know if I solved this properly or not. |
LGTM! |
@susnato In the future, please submit your notebooks to https://github.com/probml/probml-notebooks/tree/main/notebooks. |
Description
Added JAX GAN demo (Google Colab Notebook Included)
Issue
probml/pyprobml#675
Checklist:
[✓] Performed a self-review of the code
[✓] Tested on Google Colab.
Potential problems/Important remarks
As described in this issue probml/pyprobml#675 I implemented GANs using JAX [Tensorflow was only used for Datasets purpose]with the help of https://github.com/valentingol/GANJax.
Edit: There were some issues related to my first PR that @murphyk pointed out, I solved almost all of them except this one - "It would be great if you could make a detailed 'recipe' people could follow to train this model in GCP, and then just use Colab for visualizing it.", I couldn't do it because I am not familiar with GCS but I still described how you can train your model on Kaggle if Colab does not permit you to train long enough.
If there are still errors please let me know.