Skip to content
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

Which Tensorflow version is used? #293

Open
mahm1846 opened this issue Nov 7, 2022 · 2 comments
Open

Which Tensorflow version is used? #293

mahm1846 opened this issue Nov 7, 2022 · 2 comments

Comments

@mahm1846
Copy link

mahm1846 commented Nov 7, 2022

I am trying to install the cmip6-downscaling on my machine.
I notice that some of instructions are missing, like which Tensorflow version is installed? which Jupyterlab is installed?
Is it possible to post a full requirement for installation?

Best,
Maruf

@maxrjones
Copy link
Contributor

Hi Maruf, TensorFlow is defined as an optional dependency because it is only needed for the DeepSD method. To install with the optional dependencies, you can use python -m pip install cmip6-downscaling[deepsd] which will install the latest version of tensorflow and tensorflow-io.

Thanks for the note about the missing JupyterLab dependency. We used the cmip6-downscaling-single-user docker image to create the example notebooks, which has JupyterLab 3.4.3.

@mahm1846
Copy link
Author

mahm1846 commented Nov 21, 2022

Hi Max,

Thanks very much for the reply.
I tried running the following notebook: https://github.com/carbonplan/cmip6-downscaling/blob/main/notebooks/deepsd_data_prep.ipynb
However, following import statement does not work:
from cmip6_downscaling.data.cmip import get_gcm_grid_spec

That is because, the file: /scratch/fp0/mah900/cmip6-downscaling/cmip6_downscaling/data/cmip.py
It does not contain the function: get_gcm_grid_spec

How to solve this? Does Notebooks need updating? or can I get the notebook compatible module code?
Look forward to hearing from you, soon.

Best,
Maruf

@maxrjones maxrjones removed their assignment Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants