Comments (4)
Hi!
This simplest way would be to clone the repo:
- change your working directory to the root:
cd disent
- install the requirements
pip3 install requirements.txt
pip3 install requirements-experiment.txt
- run the experiment (this is the custom script we provide to load the hydra config files)
- Unfortunately I see there is a config bug left over from research code that I am currently trying to extract into a separate project, meaning the general run settings are wrong. I have added a marker to fix this for the next release of disent. The command line options that start with
run_*
you should be able to remove in the next version.
- Unfortunately I see there is a config bug left over from research code that I am currently trying to extract into a separate project, meaning the general run settings are wrong. I have added a marker to fix this for the next release of disent. The command line options that start with
PYTHONPATH=. python3 experiment/run.py framework=betavae dataset=cars3d framework.beta=0.01 \
run_location=local_cpu run_launcher=local run_logging=none # config bug workaround
If you would like to enable logging to W&B you can enable this by adding or changing the following command line options:
PYTHONPATH=. python3 experiment/run.py framework=betavae dataset=cars3d framework.beta=0.01 \
run_location=local_cpu run_launcher=local \
run_logging=wandb settings.job.user="your_wandb_username" settings.job.project="your_wandb_project"
You'll notice if you look at the experiment/config/config.yaml
file, these command line options correspond to the options set in the defaults list at the top of the file.
- These options correspond to the config files in their respective folders. eg.
- framework: betavae
or in the command lineframework=betavae
would correspond toexperiment/config/framework/betavae.yaml
. - You can add your own configurations this way (improvements to this are on the way so that you don't need to modify disent files/folders)!
- The keys in the command line that are joined with full stops eg.
settings.job.user
correspond to actual keys in the config rather than the groups in the defaults lists. See the hydra config docs for more details.
Definitely need to add this to the docs! Improvements to those are in the roadmap!
from disent.
This has been fixed in 5695747 release v0.3.4
The simplest command should now be:
PYTHONPATH=. python3 experiment/run.py framework=betavae dataset=cars3d
or adjusting beta:
PYTHONPATH=. python3 experiment/run.py framework=betavae dataset=cars3d framework.beta=0.01
from disent.
This is fantastic!! Thank you for addressing this so quickly and thoroughly – appreciate it! The simple command really helps usability :)
from disent.
No problem, glad to help!
from disent.
Related Issues (20)
- [REWRITE]: Data and Dataset Rewrite HOT 1
- [BUG]: Verify Models HOT 1
- [BUG]: "AssertionError: Torch not compiled with CUDA enabled" HOT 2
- Windows, Macos & GPU Tests
- Standardise Loss Reduction Modes HOT 1
- Adopt a Lightning-Flash Style API for Frameworks HOT 1
- [Q]: What's the native way to split datasets into train, validation and test? HOT 4
- [FEATURE]: Experiment Config Override Support & Custom Code Registry HOT 3
- [FEATURE]: Allow Metrics To Directly Accept Frameworks & Datasets HOT 1
- [DOCS]: Add Experiment Examples HOT 1
- [BUG]: Investigate Schedule Interaction With Validation & Test Data
- [FEATURE]: Model Saving and Checkpointing HOT 11
- [FEATURE]: Add to Registry from Configs HOT 1
- [FEATURE]: Simplifying your configs using hydra-zen HOT 2
- [BUG]: Automatic downloads not working for MPI3D and dSprites HOT 3
- Averaging in AdaGVAE HOT 2
- [FEATURE]: Add DMS metric HOT 5
- [FEATURE]: Add IRS Metric HOT 2
- [FEATURE]: wandb model checkpoint support
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 disent.