Giter Site home page Giter Site logo

monniert / dti-clustering Goto Github PK

View Code? Open in Web Editor NEW
72.0 3.0 11.0 40.02 MB

(NeurIPS 2020 oral) Code for "Deep Transformation-Invariant Clustering" paper

Home Page: https://www.tmonnier.com/DTIClustering

License: MIT License

Shell 1.46% Python 98.54%
clustering pytorch unsupervised-learning image-clustering neurips2020 neurips-2020 computer-vision deep-learning

dti-clustering's Issues

HTTP Error 403: Forbidden - When trying to run the training part (on mnist.yml file)

I am running the entire experiment on Google Colab (after setting up all the required environments).
On running the line:

! source activate dtic && cuda=gpu_id config=mnist.yml tag=run_tag ./pipeline.sh

I get the following error:

[2021-03-08 16:43:28] Trainer initialisation: run directory is /content/dti-clustering/runs/mnist/0308_run_tag
[2021-03-08 16:43:28] Config /content/dti-clustering/configs/mnist.yml copied to run directory
[2021-03-08 16:43:28] Using cpu device, nb_device is None
Downloading http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz to /content/dti-clustering/datasets/MNIST/raw/train-images-idx3-ubyte.gz
0it [00:00, ?it/s]Traceback (most recent call last):
File "src/trainer.py", line 617, in
trainer = Trainer(config, run_dir, seed=seed)
File "/content/dti-clustering/src/utils/init.py", line 102, in wrapper
return f(*args, **kw)
File "src/trainer.py", line 72, in init
train_dataset = get_dataset(self.dataset_name)("train", **self.dataset_kwargs)
File "/content/dti-clustering/src/dataset/torchvision.py", line 40, in init
dataset = self.dataset_class(root=self.root, transform=self.transform, download=True, **kwargs)
File "/usr/local/envs/dtic/lib/python3.7/site-packages/torchvision/datasets/mnist.py", line 70, in init
self.download()
File "/usr/local/envs/dtic/lib/python3.7/site-packages/torchvision/datasets/mnist.py", line 137, in download
download_and_extract_archive(url, download_root=self.raw_folder, filename=filename, md5=md5)
File "/usr/local/envs/dtic/lib/python3.7/site-packages/torchvision/datasets/utils.py", line 249, in download_and_extract_archive
download_url(url, download_root, filename, md5)
File "/usr/local/envs/dtic/lib/python3.7/site-packages/torchvision/datasets/utils.py", line 83, in download_url
raise e
File "/usr/local/envs/dtic/lib/python3.7/site-packages/torchvision/datasets/utils.py", line 71, in download_url
reporthook=gen_bar_updater()
File "/usr/local/envs/dtic/lib/python3.7/urllib/request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/usr/local/envs/dtic/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/envs/dtic/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/local/envs/dtic/lib/python3.7/urllib/request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/envs/dtic/lib/python3.7/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/local/envs/dtic/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/usr/local/envs/dtic/lib/python3.7/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
0it [00:00, ?it/s]

MegaDepth train images for Florence Cathedral

Hi! I am wondering if you can provide the directory name (number) for Florence Cathedral training images.
After downloading and running "create_MD_train_val.py" to create trainset, I got error,

FileNotFoundError: [Errno 2] No such file or directory: '/phoenix/S6/zl548/MegaDpeth_code//final_list/train_val_list/landscape/imgs_MD.p'

So, please let me know the name of the directory for Florence Cathedral folders in MegaDepth files
or give some recommendations for dealing this issue. ^^

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.