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

[FEAT] GPU no longer accessible in Google Collab #332

Open
J-Forsyth opened this issue Apr 18, 2024 · 1 comment
Open

[FEAT] GPU no longer accessible in Google Collab #332

J-Forsyth opened this issue Apr 18, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@J-Forsyth
Copy link

Case: Running notebook "TimeGAN - Synthetic stock data.ipynb" on Google Collab

I assume because of versioning issues (see below) upon pip installation of ydata-synthetic. But for now it's CPU only.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
chex 0.1.86 requires numpy>=1.24.1, but you have numpy 1.23.5 which is incompatible.
google-colab 1.0.0 requires requests==2.31.0, but you have requests 2.30.0 which is incompatible.
pandas-stubs 2.0.3.230814 requires numpy>=1.25.0; python_version >= "3.9", but you have numpy 1.23.5 which is incompatible.
tf-keras 2.15.1 requires tensorflow<2.16,>=2.15, but you have tensorflow 2.12.0 which is incompatible.
yfinance 0.2.37 requires requests>=2.31, but you have requests 2.30.0 which is incompatible.
Successfully installed easydict-1.10 gast-0.4.0 google-auth-oauthlib-1.0.0 keras-2.12.0 numpy-1.23.5 pmlb-1.0.1.post3 requests-2.30.0 scikit-learn-1.3.2 tensorboard-2.12.3 tensorflow-2.12.0 tensorflow-estimator-2.12.0 tensorflow-probability-0.19.0 typeguard-4.0.1 ydata-synthetic-1.3.2

Could there be any workarounds?

On another note, thank you very much for making this notebook and library, particularly for upgrading TimeGAN to TF2!

@J-Forsyth J-Forsyth added the enhancement New feature or request label Apr 18, 2024
@sajadh76
Copy link

This should help you:

!pip install ydata-synthetic==1.3.1
from ydata_synthetic.synthesizers.timeseries import TimeSeriesSynthesizer
from statsmodels.tsa.seasonal import seasonal_decompose
from ydata_synthetic.synthesizers import ModelParameters, TrainParameters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants