GithubHelp home page GithubHelp logo

Comments (6)

hanzhy-code avatar hanzhy-code commented on August 15, 2024 2

The evluation in train.py gives different result compare to test.py. I don't understand why

I meet the same question.

  1. Test. For some unknow reason author decided to f __k up everybody demostating better result than they really are. In test inference is launched per patches and than combined together. So results on standart datasets are higher than in other implementation, and he doesn't give a s__t on perfomance.
  2. Train. For some unknow reason author decided to add random crop (instead resize) to transformations in dataset though it can dramatically change results for many applications.

Such is it vanity of github contributors and we need to use their code because have tasks on our bad jobs when we aren't provided with enough time to write it from scratch

I have solved this problem. There is an error in the saving path of the picture in test.py. You should modify it in your own code.
I change 'image_name = image_path.split('/')[-1].split('.')[0]' to 'image_name = image_path.split('/')[-1][:-4]' in test function and cal_acc function. After my modification, I find the calculation result is right.

from semseg.

XRodriguez10 avatar XRodriguez10 commented on August 15, 2024 1

The evluation in train.py gives different result compare to test.py. I don't understand why

from semseg.

XRodriguez10 avatar XRodriguez10 commented on August 15, 2024

Have you solved it? I'm facing the same situation here.

from semseg.

hanzhy-code avatar hanzhy-code commented on August 15, 2024

The evluation in train.py gives different result compare to test.py. I don't understand why

I meet the same question.

from semseg.

AndreyStille avatar AndreyStille commented on August 15, 2024

The evluation in train.py gives different result compare to test.py. I don't understand why

I meet the same question.

  1. Test. For some unknow reason author decided to f __k up everybody demostating better result than they really are. In test inference is launched per patches and than combined together. So results on standart datasets are higher than in other implementation, and he doesn't give a s__t on perfomance.
  2. Train. For some unknow reason author decided to add random crop (instead resize) to transformations in dataset though it can dramatically change results for many applications.

Such is it vanity of github contributors and we need to use their code because have tasks on our bad jobs when we aren't provided with enough time to write it from scratch

from semseg.

LM0223 avatar LM0223 commented on August 15, 2024

您好,我想询问您,您是否可以将test.py中的batch size 调高,而不是只能设置为1,谢谢

from semseg.

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.