Code Monkey home page Code Monkey logo

Comments (4)

IcarusWizard avatar IcarusWizard commented on August 28, 2024

Yes, these images are just the first 16 images on the cifar10 validation dataset. I didn't shuffle the dataset since I want to see how reconstruction gets better as we trained longer.

from mae.

WhiteLie98 avatar WhiteLie98 commented on August 28, 2024

Yes, these images are just the first 16 images on the cifar10 validation dataset. I didn't shuffle the dataset since I want to see how reconstruction gets better as we trained longer.

Sorry, maybe I didn't express the question clearly. My question is not about the selected 16 images from the dataset, but the reason why are those masks positions same? Theoretically, these masked patches should be shuffled randomly.

from mae.

IcarusWizard avatar IcarusWizard commented on August 28, 2024

Oh, I see.

Yes, the patches are shuffled randomly, and you can verify that by checking the visualization for different epochs (just scroll the tensorboard).

However, you get the same result as mine is because we fix the random seed at the beginning, which controls all the randomness. That is, if you run the code without changing the default random seed, you get exactly the same result I got, even for the positions that were masked in the last visualization.

from mae.

WhiteLie98 avatar WhiteLie98 commented on August 28, 2024

Oh, I see.

Yes, the patches are shuffled randomly, and you can verify that by checking the visualization for different epochs (just scroll the tensorboard).

However, you get the same result as mine is because we fix the random seed at the beginning, which controls all the randomness. That is, if you run the code without changing the default random seed, you get exactly the same result I got, even for the positions that were masked in the last visualization.

I see. Thank you very much!

from mae.

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.