Giter Site home page Giter Site logo

Replicating the results about mcd_da HOT 5 OPEN

mil-tokyo avatar mil-tokyo commented on July 21, 2024 1
Replicating the results

from mcd_da.

Comments (5)

Ellenisawake avatar Ellenisawake commented on July 21, 2024

Updated results on VisDA17 classification (70.11%):
screenshot from 2019-01-31 10-03-49
Difference is that previous result was obtained running the code under PyTorch 0.4, this one is using PyTorch 0.3. And running evaluation in either 0.3 or 0.4 gives the same accuracy. Suspect that behavior of some function(s) changed dramastically from 0.3 to 0.4.
Thanks to the author for pointing out that:)

from mcd_da.

guantinglin avatar guantinglin commented on July 21, 2024

Hi, @Ellenisawake
do you have any idea what makes this performance difference betewwn pytorch 0.3 and 0.4?

from mcd_da.

jiaojiao-Chen avatar jiaojiao-Chen commented on July 21, 2024

Hi, @Ellenisawake
do you use the code the author applied with VisDa classification directly? I couldn't understand the variable of 'val' in the test function, can you tell me your understand?

from mcd_da.

Ellenisawake avatar Ellenisawake commented on July 21, 2024

Hi, @Ellenisawake
do you have any idea what makes this performance difference betewwn pytorch 0.3 and 0.4?

I didn't check in detail. Suggest that you just use 0.3 for running it or adding anything on top. As PyTorch has already evolved to v1.0, personally don't think there's much significance in figuring out version conflicts between 0.3 & 0.4.

from mcd_da.

Ellenisawake avatar Ellenisawake commented on July 21, 2024

Hi, @Ellenisawake
do you use the code the author applied with VisDa classification directly? I couldn't understand the variable of 'val' in the test function, can you tell me your understand?

I think 'val' is just a flag used to distinguish a test run and a validation run within training.
'''
if not val and value > 60:
torch.save(F1.state_dict(), save_path+''+args.resnet+''+str(value)+'_'+'F1.pth')
'''
Here the author only wants the model saved when in validation and accuracy >60.

from mcd_da.

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.