General improvements (#88)

* remove unnecessary linters from pre-commit-config

* hook fix

* small improvements

* fix readme

* implement easier access to debug mode

* fix tests

* Update README.md

* Update README.md
This commit is contained in:
Łukasz Zalewski authored and GitHub committed 2021-03-08 15:53:30 +01:00
1 parent 5385a2ec98
commit 3d301977b3
14 files changed
+176 -113

No files matched your search

+6
View File
@@ -27,6 +27,12 @@ datamodule.num_workers=4 datamodule.pin_memory=True \
print_config=false
echo "TEST 3"
echo "Train with 16-bit precision (1 epoch)"
python train.py trainer.gpus=-1 trainer.max_epochs=2 \
+trainer.precision=16 \
print_config=false
echo "TEST 4"
echo "Train with mixed-precision (apex, 2 epochs)"
python train.py trainer.gpus=-1 trainer.max_epochs=2 \
+trainer.amp_backend='apex' +trainer.amp_level='O2' \