GithubHelp home page GithubHelp logo

Comments (6)

YuyaWake avatar YuyaWake commented on June 23, 2024 1

Thank you for your response. I lacked knowledge about the collate function. Following your advice, the error has been resolved. Thank you!

from lightning.

Sar2580P avatar Sar2580P commented on June 23, 2024 1

from lightning.

YuyaWake avatar YuyaWake commented on June 23, 2024 1

Thank you for making me realize my lack of knowledge. Thanks to you, I have an opportunity to study again (even though I just learned it from ChatGPT, haha). This program is the most complex and difficult one I have ever written, so I think I will continue to post issues. If you don't mind, I would appreciate your help in the future as well.
Thank you!

from lightning.

awaelchli avatar awaelchli commented on June 23, 2024

Hey @YuyaWake did you take a look at the full stack trace where this happened? You didn't post all of it, it's truncated, but if you look at it closely you'll be able to see in which module forward this happens, and then you can find where you need to pass the missing masks args.

from lightning.

Sar2580P avatar Sar2580P commented on June 23, 2024

I think I caught the error ....

The error is saying that forward function requires one more argument to be defined or putting it another way , you are passing arguments more than that expected by forward function.

Looking at your collate() definition , it is returning 6 objects...
But forward is defined to take 5 objects except the self....

Pls correct the forward() definition to remove this error....

Hope I could deliver my point...
Please put your take on it...

Thanks

from lightning.

Sar2580P avatar Sar2580P commented on June 23, 2024

from lightning.

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.