Giter VIP home page Giter VIP logo

Comments (1)

betairylia avatar betairylia commented on August 21, 2024

Just have found out:

  • Unzip data/data.zip so you have ROOT/data/svhn2mnist/ etc.
  • Copy e.g. data/svhn2mnist/svhn2mnist_dataset.py to data/ and run it. You may want to modify the code with download=True, also modify the MNIST test set part so it uses torchvision.datasets.MNIST with train=False instead of a hard-coded path.
  • Perhaps you also need to modify e.g. label_file.write('{:d}.png {:d}\n'.format(i, mnist_dataset.train_labels[i])) so the path could meet the actual path?

And I got stuck at here since the training code are trying to load from svhn_balanced.txt but what I got so far was only svhn.txt. I am not sure that how should I generate the balanced dataset (without additional code).
FileNotFoundError: [Errno 2] No such file or directory: '/media/cep/HH/data/CDAN/svhn2mnist/svhn_image/3214.png'

Also I guess this method doesn't work for amazon datasets? At least I didn't found corresponding scripts.

Maybe you should mention this in your README ...

from atm.

Related Issues (2)

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.