Comments (1)
Just have found out:
- Unzip
data/data.zip
so you haveROOT/data/svhn2mnist/
etc. - Copy e.g.
data/svhn2mnist/svhn2mnist_dataset.py
todata/
and run it. You may want to modify the code withdownload=True
, also modify the MNIST test set part so it usestorchvision.datasets.MNIST
withtrain=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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atm.