Comments (3)
Thanks for your response. While trying out your repo for the first time, I ended up running multiple commands in arbitrary order. In doing so, I recall running python -m unittest discover as well. I cannot confidently point out what exactly caused the issue. Very likely some hidden files got created inside the dataset directory, which when tried to be picked up by the dataloader might have given this error.
As a remedy I resorted to deleting my entire dataset directories, downloaded them again, ran the commands for launching the sweep.py , and then things started working well.
I just have few more questions:
-
Is it mandatory to use python3 for running python3 -m domainbed.scripts.download and python3 -m domainbed.scripts.train respectively ? When I tried python -m domainbed.scripts.download, it was not working
-
Also, is it necessary that the datasets need to be downloaded into --data_dir=./domainbed/data , or it's fine in downloading to them to any path in my local system ?
-
Perhaps it is there somewhere in the repo, but as I did not explicitly find this in the readme, it was bit confusing to me about the nature of the environment where the code needs to be run upon. I found the following to be helpful (hence, thinking of sharing here, so that if someone else finds a similar issue, it would be helpful to them):
conda create -p /<path_to_your_envs>/dgbed python=3.8
conda activate dgbed
pip install gdown
pip install wilds
pip install parameterized
P.S. As my main issue of getting the code running is resolved, you may close this issue as well (but please do answer my above 3 questions. Apologies if something is obvious/ trivial. )
from domainbed.
We need more context, i.e., exact command, path of dataset...
from domainbed.
- It is mandatory to use
python3
. Note that your scriptpython
can be already pointing topython3
. To know this, executepython
without arguments and take a look at the banner. - Any path is fine, as long as you specify it correctly using
--data_dir
. - Any
python3
environment with the necessary dependencies should work.
from domainbed.
Related Issues (20)
- MyLauncher for SLURM HOT 2
- PrototypicalDomainGeneralization code implementation HOT 1
- DomainBed for tabular data HOT 1
- DomainBed leave-one-out results table is not showing up HOT 1
- Possibility of choosing the model selection for sweep HOT 1
- Where are unlabelled data used in DANN? HOT 2
- DANN seems to not converge at all HOT 2
- Question about the train & val splits
- Add Adaptiope Dataset HOT 1
- Is there a way to adapt domainbed for single domain generalization? HOT 2
- cannot download the terra incognita dataset HOT 4
- please provide a standard format to train custom dataset on domainbed HOT 1
- Jobs for leaveone-out model selection
- An issue about the way to calculate the mean / error on one test env.
- A question about in/out accuracy HOT 2
- Implementation of WILDS-FMoW dataset in DomainBed
- DANN Gradient Reversal Layer Missing HOT 2
- Mistake in collect_results.py with --single_test_envs sweep option HOT 1
- about cmnist results
- StopIteration error when training on OfficeHome HOT 1
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 domainbed.