half() fix #66
This commit is contained in:
parent
111994956e
commit
e7c24e04ac
1
test.py
1
test.py
|
|
@ -45,6 +45,7 @@ def test(data,
|
||||||
training = False
|
training = False
|
||||||
else: # called by train.py
|
else: # called by train.py
|
||||||
device = next(model.parameters()).device # get model device
|
device = next(model.parameters()).device # get model device
|
||||||
|
half = False
|
||||||
training = True
|
training = True
|
||||||
|
|
||||||
# Configure
|
# Configure
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue