Comments (5)
@Tywors
Insert graph = nn.DataParallel(graph)
at
Line 127 in b69b9f6
"graph" : graph.moduel.state_dict()
at Line 62 in b69b9f6
from dctts-pytorch.
@Tywors
Actually, after graph = nn.DataParallel(graph)
, the original graph is wrapped by a DataParallel. It's possible to access original graph by graph.module
.
Maybe you have to change graph
to graph.module
at several places.
I''m sorry that I don't have time to help you do all changes, because I'm focusing on my private project.
from dctts-pytorch.
Thanks for your answer!
With this change, this is the result in train:
File "main.py", line 62, in <module> main() File "main.py", line 47, in main train(args.module, args.load) File "/content/dctts-pytorch/pkg/train.py", line 54, in train train_text2mel(load_trained) File "/content/dctts-pytorch/pkg/train.py", line 177, in train_text2mel atten_mask = torch.ones_like(graph.attention) File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 518, in __getattr__ type(self).__name__, name)) AttributeError: 'DataParallel' object has no attribute 'attention'
any suggestion?
from dctts-pytorch.
Thanks for your time!
I continue trying!
from dctts-pytorch.
Thanks for your time!
I continue trying!
Have you solved the problem?
from dctts-pytorch.
Related Issues (7)
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 dctts-pytorch.