Dev (#118)
* update readme * remove optimizer * make parameters more explicit * add .autoenv * update dockerfile * fix paths * update configs * update train.py * fix test
This commit is contained in:
1 parent
42f8acddd0
commit
2dcbdcdaf9
27 files changed
+253
-165
No files matched your search
+11
-11
@@ -27,19 +27,19 @@ datamodule.num_workers=4 datamodule.pin_memory=True \
|
||||
print_config=false
|
||||
|
||||
echo "TEST 3"
|
||||
echo "Train with 16-bit precision (1 epoch)"
|
||||
python run.py trainer.gpus=-1 trainer.max_epochs=2 \
|
||||
+trainer.precision=16 \
|
||||
print_config=false
|
||||
|
||||
echo "TEST 4"
|
||||
echo "Train with mixed precision (apex, amp level 01, 2 epochs)"
|
||||
python run.py trainer.gpus=-1 trainer.max_epochs=2 \
|
||||
echo "Train with mixed precision (apex, amp level 01, 1 epoch)"
|
||||
python run.py trainer.gpus=-1 trainer.max_epochs=1 \
|
||||
+trainer.amp_backend="apex" +trainer.amp_level="O1" +trainer.precision=16 \
|
||||
print_config=false
|
||||
|
||||
echo "TEST 5"
|
||||
echo "Train with mixed precision (apex, amp level 02, 2 epochs)"
|
||||
python run.py trainer.gpus=-1 trainer.max_epochs=2 \
|
||||
echo "TEST 4"
|
||||
echo "Train with mixed precision (apex, amp level 02, 1 epoch)"
|
||||
python run.py trainer.gpus=-1 trainer.max_epochs=1 \
|
||||
+trainer.amp_backend="apex" +trainer.amp_level="O2" +trainer.precision=16 \
|
||||
print_config=false
|
||||
|
||||
echo "TEST 5"
|
||||
echo "Train with mixed precision (apex, amp level 03, 1 epoch)"
|
||||
python run.py trainer.gpus=-1 trainer.max_epochs=1 \
|
||||
+trainer.amp_backend="apex" +trainer.amp_level="O3" +trainer.precision=16 \
|
||||
print_config=false
|
||||
@@ -50,7 +50,7 @@ print_config=false
|
||||
|
||||
echo "TEST 7"
|
||||
echo "Run default hydra sweep (executes 4 different combinations in debug mode)"
|
||||
python run.py -m trainer=debug_trainer datamodule.batch_size=32,64 optimizer.lr=0.001,0.003 \
|
||||
python run.py -m trainer=debug_trainer datamodule.batch_size=32,64 model.lr=0.001,0.003 \
|
||||
debug=True \
|
||||
print_config=false
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ echo "TEST 1"
|
||||
echo "Default hydra sweep with wandb logging"
|
||||
python run.py -m \
|
||||
+experiment=exp_example_simple \
|
||||
datamodule.batch_size=64,128 optimizer.lr=0.001,0.003 \
|
||||
datamodule.batch_size=64,128 model.lr=0.001,0.003 \
|
||||
trainer.gpus=-1 trainer.max_epochs=2 \
|
||||
datamodule.num_workers=12 datamodule.pin_memory=True \
|
||||
logger=wandb logger.wandb.project="env_tests" logger.wandb.group="DefaultSweep_MNIST_SimpleDenseNet"
|
||||
|
||||
Reference in new issue
Block a user