Giter Club home page Giter Club logo

Comments (11)

XiangyuWu avatar XiangyuWu commented on July 24, 2024 2

@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.

voa18105 avatar voa18105 commented on July 24, 2024

I have same error

from ganimation.

jackylee1 avatar jackylee1 commented on July 24, 2024

have the same problem

from ganimation.

jackylee1 avatar jackylee1 commented on July 24, 2024

@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.

XiangyuWu avatar XiangyuWu commented on July 24, 2024

@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.

jackylee1 avatar jackylee1 commented on July 24, 2024

@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.

zzzzhuque avatar zzzzhuque commented on July 24, 2024

@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.

XiangyuWu avatar XiangyuWu commented on July 24, 2024

@jackylee1 @ZHUTAO142857 I've added you two in QQ.

from ganimation.

banxia1994 avatar banxia1994 commented on July 24, 2024

@XiangyuWu @jackylee1 @ZHUTAO142857
hi, have you guys solve this problem?
same here, would you mind give me some tips?

many thanks

from ganimation.

banxia1994 avatar banxia1994 commented on July 24, 2024

@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.

Simhyunjeong16 avatar Simhyunjeong16 commented on July 24, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.