updates
This commit is contained in:
parent
6f83c321c8
commit
887ab29c64
2
train.py
2
train.py
|
@ -18,7 +18,7 @@ opt = parser.parse_args()
|
||||||
print(opt)
|
print(opt)
|
||||||
|
|
||||||
# Import test.py to get mAP after each epoch
|
# Import test.py to get mAP after each epoch
|
||||||
sys.argv[1:] = [] # delete any command line arguments that might get picked up by test.py
|
sys.argv[1:] = [] # delete any train.py command-line arguments before they reach test.py
|
||||||
import test # must follow sys.argv[1:] = []
|
import test # must follow sys.argv[1:] = []
|
||||||
|
|
||||||
cuda = torch.cuda.is_available()
|
cuda = torch.cuda.is_available()
|
||||||
|
|
Loading…
Reference in New Issue