Comments (3)
ModuleNotFoundError Traceback (most recent call last)
/media/veracrypt1/Всероссийский_хакатон_2023/r_TabGan_GauseRank.ipynb Ячейка 15 line 4
2 import numpy as np
3 from tabgan.utils import get_year_mnth_dt_from_date,make_two_digit,collect_dates
----> 4 from tabgan.sampler import OriginalGenerator, GANGenerator
7 train_size = 100
8 train = pd.DataFrame(
9 np.random.randint(-10, 150, size=(train_size, 4)), columns=list("ABCD")
10 )
File ~/mambaforge-pypy3/envs/tabgan/lib/python3.10/site-packages/tabgan/sampler.py:10
8 import numpy as np
9 import pandas as pd
---> 10 from _ForestDiffusion import ForestDiffusionModel
12 from _ctgan.synthesizer import _CTGANSynthesizer as CTGAN
13 from tabgan.abc_sampler import Sampler, SampleData
File ~/mambaforge-pypy3/envs/tabgan/lib/python3.10/site-packages/_ForestDiffusion/init.py:1
----> 1 from ForestDiffusion.diffusion_with_trees_class import ForestDiffusionModel
4 all = (
5 'ForestDiffusionModel'
6 )
ModuleNotFoundError: No module named 'ForestDiffusion'
from gan-for-tabular-data.
ModuleNotFoundError Traceback (most recent call last)
in <cell line: 1>()
----> 1 from tabgan.sampler import GANGenerator
2 import pandas as pd
3 import numpy as np
4 from sklearn.model_selection import train_test_split
5
1 frames
/usr/local/lib/python3.10/dist-packages/_ForestDiffusion/init.py in
----> 1 from ForestDiffusion.diffusion_with_trees_class import ForestDiffusionModel
2
3
4 all = (
5 'ForestDiffusionModel'
ModuleNotFoundError: No module named 'ForestDiffusion'
from gan-for-tabular-data.
fixed in the latest version pip install tabgan==2.0.5
Thank you for finding out the error! @sammanan4 @navyashali
from gan-for-tabular-data.
Related Issues (20)
- is it ok for regression type task? HOT 1
- generated Cov is not that close HOT 2
- all sample codes not working till epoch end HOT 1
- second args in generate_data_pipe cannot be left None HOT 2
- TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType' HOT 1
- training CTGAN stops in the middle (around 24%) HOT 2
- Difference between OriginalGenerator and GANGenerator HOT 1
- Getting this error when trying to install load HOT 2
- check HOT 1
- ContextualVersionConflict: (scikit-learn 1.0.2 (/usr/local/lib/python3.7/dist-packages), Requirement.parse('scikit-learn==0.23.2'), {'tabgan'}) HOT 3
- Dear Author, May I know the ctgan version for the installation? I am getting error. from ctgan import _CTGANSynthesizer ImportError: cannot import name '_CTGANSynthesizer' HOT 4
- pip install scikit-learn version issue HOT 3
- Mistake in Readme HOT 2
- Some issues araised when running Tab-GAN: 1) Manage Categorical Variables. 2) Batch size problem HOT 8
- Reproducibility issue HOT 1
- ValueError: Input X contains NaN although NaN filtered HOT 7
- IntCastingNaNError Despite No NaN values HOT 3
- LGBMClassifier.fit() got an unexpected keyword argument 'early_stopping_rounds' HOT 2
- TypeError w/ Boolean Data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gan-for-tabular-data.