updates
This commit is contained in:
parent
c68093ee7d
commit
05ec8b3b9d
1
train.py
1
train.py
|
@ -120,6 +120,7 @@ def train(
|
||||||
sampler=sampler)
|
sampler=sampler)
|
||||||
|
|
||||||
# Mixed precision training https://github.com/NVIDIA/apex
|
# Mixed precision training https://github.com/NVIDIA/apex
|
||||||
|
# install help: https://github.com/NVIDIA/apex/issues/259
|
||||||
mixed_precision = False
|
mixed_precision = False
|
||||||
if mixed_precision:
|
if mixed_precision:
|
||||||
from apex import amp
|
from apex import amp
|
||||||
|
|
Loading…
Reference in New Issue