gretelai / gretel-synthetics

Synthetic data generators for structured and unstructured text, featuring differentially private learning.
https://gretel.ai/platform/synthetics
Other
596 stars 87 forks source link

TypeError: __init__() got an unexpected keyword argument 'prefetch_factor' #127

Closed Tungom closed 2 years ago

Tungom commented 2 years ago

Hi gretelai developers, thanks for implementing this amazing work in Pytorch. I am currently researching on this subject and was trying out the code in the notebook example.

When running the example notebook timeseries_dgan.ipynb I encountered the following error when running model.train_numpy TypeError: init() got an unexpected keyword argument 'prefetch_factor'. How do i fix this error

Tungom commented 2 years ago

Fixed the issue by upgrading to torch 1.11. torch .