Code Monkey home page Code Monkey logo

Comments (7)

codeAC29 avatar codeAC29 commented on June 28, 2024

You need to make changes only in loadCamvid.lua. What is the value of #classes after this line?

from enet-training.

Mina1368 avatar Mina1368 commented on June 28, 2024

It seems that no matter which dataset I use, the decoder part is as follow, which is only one layer of convolution with 13 filters. Do you have any idea where to fix?

th> model = torch.load('model-4.net')
th> model
nn.ConcatTable {
input
|-> (1): cudnn.SpatialConvolution(3 -> 13, 3x3, 2,2, 1,1) -> (2): nn.SpatialMaxPooling(2x2, 2,2)
... -> output
}

from enet-training.

Mina1368 avatar Mina1368 commented on June 28, 2024

Yes, the #classes is fine.

from enet-training.

ishann avatar ishann commented on June 28, 2024

As a sanity check consider looking at the models you're loading, and if they are pointing to the correct directories.

Since the dimensions are not hard-coded in the model/train/test files, this might be due to the pre-loaded model you're using.

from enet-training.

ishann avatar ishann commented on June 28, 2024

On closer inspection, I did find this in the encoder file pointing to a hard-coded dimension. This might fix your problem.

from enet-training.

codeAC29 avatar codeAC29 commented on June 28, 2024

See if you have the same issue as #3

from enet-training.

Mina1368 avatar Mina1368 commented on June 28, 2024

Thank you ishann and codeAC29, you were right, I was looking at wrong model. It works perfectly now!

from enet-training.

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.