Code Monkey home page Code Monkey logo

Comments (5)

bluedream1121 avatar bluedream1121 commented on August 31, 2024

It does not yield the same the tensorflow version of Key.Net, because of the differences by framework.(e.g. random seed,... )

Therefore, it would a little bit diffrenent performance compared to the Key.Net paper.

However, in my experience, If I use 4000 training set, 1500 validation set using ILSVRC2012, I obtained almost simliar scores of tensorflow version source code.

For training, I just use this command,

python train.py --data-dir ~/datasets/ImageNet2012/ILSVRC2012_img_val/

from key.net_pytorch.

gaoyongyan avatar gaoyongyan commented on August 31, 2024

In this case, did you only use the ILSVRC2012_img_val validation set for training?

from key.net_pytorch.

bluedream1121 avatar bluedream1121 commented on August 31, 2024

Yes.

from key.net_pytorch.

gaoyongyan avatar gaoyongyan commented on August 31, 2024

During the experiment, I would like to ask you the following questions and hope to give guidance:

  1. The problem in the screenshot will appear in the data preprocessing stage. The reason I find is that there is insufficient memory, the memory is not released in time after data processing, and I can't find the relevant content of releasing memory in the program. Do you have this problem?
    G F@NJLQA@W~DGSTRQ%71DS
  2. In addition, there is another detail that I don't quite understand. I'd like to ask you. There are 50000 pictures in the verification set. 9000 training sets and 3000 verification sets are selected. Why does the program select 4000 training and 1500 verification? And is the selection of data sets random or sequential?
  3. Because of the above two problems, I selected 2500 for training and 500 for verification during training, and also experimented with other quantities, but the repeatability effect has not reached the effect of the original text, so I feel helpless that it is still the problem of data set selection. Thank you very much for your help!

from key.net_pytorch.

bluedream1121 avatar bluedream1121 commented on August 31, 2024
  1. I did not experience that of problems. I use 32GB memory desktop to generate this synthetic data.

  2. The official tensorflow implementation of Key.Net, they use 4000/1500 train/val dataset split. I follow that configuration.

  3. Because of the difference of the random seed between pytorch and tensorflow, the repeatability score cannot be exactly same. Nevertheless, I achieve the repeatability score and matching score alomst same compared to the trained model using the official released code (https://github.com/axelBarroso/Key.Net).

from key.net_pytorch.

Related Issues (5)

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.