Comments (13)
Hellos,
Do you change the gpu id of the following line in train.sh:
export THEANO_FLAGS=device=gpu3,floatX=float32,lib.cnmem=0.8
from text_style_transfer.
Thanks for your reply!
I noticed the code in train.sh, I think if I use my gpu3, I needn't to do any modification.
But I still have the error, if you know some other reasons? Hhh, I can not solve it by myself now.
Thanks
from text_style_transfer.
Do you modify any code? I'm sure 12G is enough. I did not meet the error ever.
from text_style_transfer.
Thanks.
Building f_init... Done Building f_next.. Done Building f_log_probs... Done Building f_cost... Done Computing gradient... Done Building optimizers... Done Optimization Epoch 0 Update 100 style 1 Cost 71.04966 0.34096366 -0.34654176 UD 1.36920809746 Traceback (most recent call last): File "./train_nmt.py", line 55, in <module> 'reload': [False]})
After the 0 epoch, it will say the gpu memeory error. I will try to solve thisn problem. Thank you!
from text_style_transfer.
maybe the batch size is too large, I just modify the batch size to 16, and it can be run now.
I have another question, if I want to run the model using another datasets, I think I just need to replace the q_train.txt q_val.txt q_test.txt, r_train.txt r_val.txt r_test.tst,and s_train.txt s_val.txt s_test.tst with my own datasets.
the q_.txt is the same as r_.txt, and the s_.txt is the label of the corresponding q_.txt. I want to know if my understanding is right, thanks~
from text_style_transfer.
Yeah, that is right!
from text_style_transfer.
hi,
I met the problem that after I ran the ./test.sh, I found the q_test_style_0.txt was empty and the q_test_style_0.txt was all dots such as '. . . . . . . . . . . . . . . '.
I just modified the batch size in train_nmt.py from 128 to 16.
Can you help me, thanks!!!
from text_style_transfer.
Which model and dataset do you use? I will try to reproduce the srror.
from text_style_transfer.
hhh, thank you!
I use your origin dataset, just as you wrote.
$ cd model/style_transfer/session_multi_decoder
$ ./train.sh # train model
$ ./test.sh # test model
$ ./com.sh # show results in compare.txt
And to solve the problem of memory error, I modified the batch size in train_nmy.py to 16.
from text_style_transfer.
I met the same problen........ I am trying to fix it.
from text_style_transfer.
hi,
Have you found the solution.
from text_style_transfer.
I can not run it on gpu now due to nvidia cuda or driver error. I am running it on CPU slowly...
from text_style_transfer.
I do not find the solution now..
from text_style_transfer.
Related Issues (8)
- Could you please provide some training details? HOT 7
- Error when running train.sh HOT 7
- running errors HOT 1
- empty output HOT 2
- README HOT 1
- About file structure HOT 1
- Running code with custom dataset
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 text_style_transfer.