Comments (11)
@voa18105 I know that what's wrong now. This error will raise if your real_cond or desired_cond is empty. Since desired_cond is produced by random real_cond, the root of this issue is the real_cond .
Change the sentence while real_img is None or real_cond is None
to while real_img is None or len(real_cond) != 17
in the dataset_aus.py may solve this problem. Of course, the way to produce desired_cond should be modified as well.
Hope it helpful to you!
from ganimation.
I have same error
from ganimation.
have the same problem
from ganimation.
@XiangyuWu i change the source as you mentioned,but still show the problem,did you just changed
while real_img is None or real_cond is None to while real_img is None or len(real_cond) != 17 and solved it.
how to change desired_cond?
thanks
from ganimation.
@jackylee1 That was what I just changed. Btw, I also wrote a script to check whether each file created by OpenFace has only 17 distributions (19 columns). And if I removed the abnormal files, the original codes by the author run well. Still, the method I mentioned at the beginning also worked for me.
from ganimation.
@XiangyuWu did you make it.
i still got the error after i changed the code.i don't know whether there is anything wrong with the way i deal with the images.did you have the dataset for training and how do you process it before the experiment.
hope to get your help. do you have qq?mine is 981687874.can i add you as friend?thanks
from ganimation.
@jackylee1 That was what I just changed. Btw, I also wrote a script to check whether each file created by OpenFace has only 17 distributions (19 columns). And if I removed the abnormal files, the original codes by the author run well. Still, the method I mentioned at the beginning also worked for me.
I still come up with this problem. My torch version is 0.4.1. If possible, can you add my qq(1136133473)?
Thank you very much.
from ganimation.
@jackylee1 @ZHUTAO142857 I've added you two in QQ.
from ganimation.
@XiangyuWu @jackylee1 @ZHUTAO142857
hi, have you guys solve this problem?
same here, would you mind give me some tips?
many thanks
from ganimation.
@XiangyuWu @jackylee1 @ZHUTAO142857
hi, have you guys solve this problem?
same here, would you mind give me some tips?many thanks
i found the problem, we should check the length of desired_cond
from ganimation.
@banxia1994
Hi, Did you resolve this error?
I checked the desired_cond, Some of them come out to zero.
thanks
from ganimation.
Related Issues (20)
- Is this how you would run your sample images ? HOT 2
- TypeError: iteration over a 0-d array
- Problem with Preparing annotation
- Pretrained Openface HOT 3
- About the paper figure
- A question about some loss functions in the paper
- Give “Attention” a name.
- Suggestion of using AU R-CNN instead of OpenFace for better AU detection accuracy.
- tensors must have same number of dimensions: got 2 and 3
- Attention Loss
- TypeError: Cannot handle this data type HOT 1
- when training “the loss_d_real is negative value ” is OK? and why
- Generator is different from that in paper HOT 1
- AUs as input parameter for trained model HOT 1
- IndexError: During training 0-dim tensor error HOT 2
- Can you share you train data in this paper? HOT 1
- Pretrained Model HOT 2
- Demo??
- Why the c_dim is 5 HOT 1
- How to get tar_aus in the batch ,what is the tar_aus?
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 ganimation.