gretelai / gretel-synthetics

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

Bug #140

Closed vinay-k12 closed 1 year ago

vinay-k12 commented 1 year ago

Are you reporting a bug or FR?

I'm trying to import ACTGAN but I'm facing this error!

"No module named 'rdt'"

How come I'm unable to load the library.

image
johntmyers commented 1 year ago

Hi @vinay-k12 - for this model we ask users to install SDV themselves separately in order to avoid dependency conflicts with our other models. Have you done that? You can try: pip install "sdv<0.18.0" then re-starting the Notebook?

vinay-k12 commented 1 year ago

Hey @johntmyers Yes. Installed

!pip install tensorflow==2.8 !pip install sdv==0.16.0 !pip install torch==1.13.1

and !pip install gretel-synthetics

johntmyers commented 1 year ago

You don't need all three. Please check the README, you only need to install SDV and the version you installed may not be compatible as we rely on 0.17.x.

vinay-k12 commented 1 year ago

This worked when I use SDV 0.17.0. It'd be nice if this is mentioned as well.

johntmyers commented 1 year ago

Glad it worked. For future reference, our version recommendations are on the readme:

https://github.com/gretelai/gretel-synthetics#dependency-requirements