Giter Site home page Giter Site logo

Padding is eaten away about cunn HOT 11 CLOSED

torch avatar torch commented on June 10, 2024
Padding is eaten away

from cunn.

Comments (11)

soumith avatar soumith commented on June 10, 2024

padding is eaten away and replaced by .padW and .padH

from cunn.

soumith avatar soumith commented on June 10, 2024

torch/nn@793b6bf

from cunn.

Atcold avatar Atcold commented on June 10, 2024

OK, but I get the error. How can I forward the image successfully?
The error message is not really helpful...
Should it be ".padW and .padH are missing"?

from cunn.

soumith avatar soumith commented on June 10, 2024

did you update cunn to the latest trunk? seems like you updated nn, but not cunn?

from cunn.

soumith avatar soumith commented on June 10, 2024

https://github.com/torch/cunn/blob/master/SpatialConvolutionMM.cu#L111

from cunn.

Atcold avatar Atcold commented on June 10, 2024

Everything is just to the latest release.
OK, tnx for the pointer, but I think there should be a different error message. Don't you think so?

from cunn.

soumith avatar soumith commented on June 10, 2024

i think that has to be double-checked.

bad argument #1 (field padding does not exist)

This error appears on the older version of cunn for sure, because of this line:

int padding = luaT_getfieldcheckint(L, 1, "padding");

but should not appear in trunk, because it is changed to:
https://github.com/torch/cunn/blob/master/SpatialConvolutionMM.cu#L111

from cunn.

Atcold avatar Atcold commented on June 10, 2024

@soumith, my bad. apt-get broke cuda and luarocks didn't update cunn and I didn't notice that. My fault. Sorry...

from cunn.

soumith avatar soumith commented on June 10, 2024

no problem :)

from cunn.

Atcold avatar Atcold commented on June 10, 2024

👍

from cunn.

Atcold avatar Atcold commented on June 10, 2024

@soumith, one more note. With a broken cuda, luarocks installed only the lua files leaving out the cu one. That's why I had the lua killing my padding variable but the precompiled cu one asking for it. So, the semi-installed cunn gave me some weird troubles.

from cunn.

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.