Comments (6)
Hi @TrinhDinhPhuc,
Would you mind sharing with us some more details like:
- OS version
- Python version
- List of steps to reproduce the error + Full output
- Contents of the json config file
Thanks.
from tgan.
Hi I am using Ubuntu 18.04, python 3.6, this is my configuration file
[
{
"name": "census",
"num_random_search": 10,
"train_csv": "data/census-train.csv",
"continuous_cols": [0, 2, 3, 4, 5],
"epoch": 5,
"steps_per_epoch": 10000,
"output_epoch": 3,
"sample_rows": 10000
}
]
from tgan.
I just simply run $python3.6 src/launcher.py demo_config.json
as the instruction in README
from tgan.
Seems like i know why. I run python3.6
, but the script was profiling profiling:/home/harry/Downloads/Python-3.7.2/Parser/parser.gcda:Cannot open
. That why python3.7 said numpy hasn't installed yet but actually numpy has installed on python3.6. But i dont know how to fix that error.
harry@Harry-Savage:~/Documents/GANs-demo/TGAN-master$ python3.6 src/launcher.py src/demo_config.json [{'name': 'KDD', 'num_random_search': 10, 'train_csv': 'data/KDD.csv', 'continuous_cols': [0, 2, 3, 4, 5], 'epoch': 5, 'steps_per_epoch': 10000, 'output_epoch': 3, 'sample_rows': 10000}] working dir: expdir/KDD Traceback (most recent call last): Traceback (most recent call last): File "src/TGAN_synthesizer.py", line 7, in <module> File "src/TGAN_synthesizer.py", line 7, in <module>itit import numpy as np import numpy as np ModuleNotFoundError: No module named 'numpy' ModuleNotFoundError: No module named 'numpy' profiling:/home/harry/Downloads/Python-3.7.2/Parser/parser.gcda:Cannot open profiling:/home/harry/Downloads/Python-3.7.2/Parser/parser.gcda:Cannot open profiling:/home/harry/Downloads/Python-3.7.2/Python/structmember.gcda:Cannot open profiling:/home/harry/Downloads/Python-3.7.2/Python/structmember.gcda:Cannot open profiling:/home/harry/Downloads/Python-3.7.2/Python/mystrtoul.gcda:Cannot open
from tgan.
@TrinhDinhPhuc reading your messages, I suspect that you are installing TGAN and running it natively, without a virtualenv, and this is why your python interpreters are getting mixed.
To solve this, I would like to recommend you to use a virtualenv. Can you try it?
The commands should be something along these lines:
sudo apt-get install virtualenvwrapper
mkvirtualenv -p $(which python3.6) TGAN
cd path/to/TGAN
python src/launcher.py demo_config.json
from tgan.
You're awesome, thank you!
I have another question, I will open a new issue, not in this. Please close this thread.
from tgan.
Related Issues (20)
- How to save model during experiment?
- How to deal with discrete (integer) variables? HOT 1
- Random search crash at the end? due to NaN ? on classifier.fit(..) HOT 1
- vecs_denorm in model.py
- Handling the target variable in data generation (question)
- RuntimeError: dictionary changed size during iteration HOT 1
- tarfile.ReadError: unexpected end of data
- How to pass TGANModel hyper parameters as a dictionary
- I have a problem when I try to use 'Random hyperparameter search' HOT 1
- Fixing random seed to reproduce the same results HOT 2
- Issue with tgan installation in mac HOT 1
- AttributeError: can't set attribute HOT 1
- Error on changing parameters regarding discriminator and generator
- Usage of discriminator as classifier
- creating samples is stuck HOT 2
- How to work with GPU ?
- Increase code style lint
- self.training = training assignment is failing HOT 2
- importing TGAN HOT 2
- HELP ModuleNotFoundError (maybe version issue) 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 tgan.