Coder Social home page Coder Social logo

Comments (7)

caozhangjiex avatar caozhangjiex commented on May 20, 2024

The pytorch version of the code perform badly on ImageNet. We do not find the reason yet. Please use the caffe version if you want to run on ImageNet.

from hashnet.

caozhangjiex avatar caozhangjiex commented on May 20, 2024

check caffe directory

from hashnet.

chenshen03 avatar chenshen03 commented on May 20, 2024

I just directly use your pretrained caffe's model to evaluate the mAP on ImageNet, and some results are as follows;

  • 16bit: 0.4643
  • 32bit: 0.5934

However, the results on your paper are as follows:
image

What makes this difference?

from hashnet.

caozhangjie avatar caozhangjie commented on May 20, 2024

Maybe it is because the caffe framework changes or other reason such as initialization. I'm sure it can reproduce the results at publishing.

from hashnet.

chenshen03 avatar chenshen03 commented on May 20, 2024

I retrained the model and obtain an ideal result. Thank you~

from hashnet.

TreezzZ avatar TreezzZ commented on May 20, 2024

I retrained the model and obtain an ideal result. Thank you~

请问是如何训练的?我用PyTorch在DSH、DHN和HashNet三个算法上复现,均是在Imagenet数据集上表现奇差。

from hashnet.

chenshen03 avatar chenshen03 commented on May 20, 2024

I retrained the model and obtain an ideal result. Thank you~

请问是如何训练的?我用PyTorch在DSH、DHN和HashNet三个算法上复现,均是在Imagenet数据集上表现奇差。

我之前跑过HashNet的作者提供的PyTorch版本,也自己复现过,但是在ImageNet上表现都不好,但我感觉你的表现好像比我的还更差。不过如果直接跑caffe的版本的话,结果和论文差不多。

from hashnet.

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.