ydata-synthetic
ydata-synthetic copied to clipboard
[FEAT] GPU no longer accessible in Google Collab
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!
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