Git Product home page Git Product logo

Comments (7)

codeAC29 avatar codeAC29 commented on September 17, 2024

Yes it is right; loading whole dataset into memory is not efficient. One efficient way will be to load chunk of data one thread and start training on previously loaded chunk on another thread. Since, both the datasets used here are not that big and it was possible to load all of them into memory, I chose to avoid using multiple threads and keep the code simple. Btw will be glad if you could send a pull request with multiple threads if you want.

from linknet.

mingminzhen avatar mingminzhen commented on September 17, 2024

I am trying to do that.
In addition, could you provide instructions about how to evaluate the pretrained models?
This will be helpful!

from linknet.

codeAC29 avatar codeAC29 commented on September 17, 2024

For evaluation you just need to put the model in evaluate mode and run it on validation data. Look into test.lua.

from linknet.

mingminzhen avatar mingminzhen commented on September 17, 2024

I write a test script to test the pretrained model model-cs-IoU.net for cityscape dataset. I get the mean IoU: 49.17%
Then I find that in your confusionMatrix-cs-IoU.txt, the training IoU is 78.354101431997% and the test IoU is 58.601016119907% .
Does it mean that the result is 58% when running on the val dataset (500 images) of cityscape and 78% when running on the training dataset.

from linknet.

codeAC29 avatar codeAC29 commented on September 17, 2024

@mingminzhen 58.60% is iIoU value and 76.44 is IoU value.

from linknet.

mingminzhen avatar mingminzhen commented on September 17, 2024

Now i understand you run the experiments on the val dataset. It may be better to run the experiments on the test dataset. So that it is clear how good the linkNet is.

from linknet.

codeAC29 avatar codeAC29 commented on September 17, 2024

During training time you should use training set and cross-validate it on validation set. Only when you have your trained network you should use test data.

from linknet.

Related Issues (15)

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.