jetson-inference icon indicating copy to clipboard operation
jetson-inference copied to clipboard

Bug : eval_ssd.py

Open leaf918 opened this issue 3 years ago • 0 comments
trafficstars

in line 151,in file eval_ssd.py,the var device assigned to CPU,the inference will NOT work, to fix it ,it should be stronger in line 37 in file ssd.py. tks.

  timer.start("Load Model")
    net.load(args.trained_model)
    net = net.to(DEVICE)
    print(f'It took {timer.end("Load Model")} seconds to load the model.')

leaf918 avatar Sep 21 '22 03:09 leaf918