I see that in user.py script, lines 228 to 234 are same as lines 236 to 242.
if torch.cuda.is_available():
torch.cuda.synchronize()
res = time.time() - end
print("Network seq", path_seq, "scan", path_name,
"in", res, "sec")
end = time.time()
cnn.append(res)
Why is the code repeating twice, or is it by mistake that this piece of code is written twice, or is there any interpretation to it?
Hi,
I see that in user.py script, lines 228 to 234 are same as lines 236 to 242. if torch.cuda.is_available(): torch.cuda.synchronize() res = time.time() - end print("Network seq", path_seq, "scan", path_name, "in", res, "sec") end = time.time() cnn.append(res)
Why is the code repeating twice, or is it by mistake that this piece of code is written twice, or is there any interpretation to it?
Someone please help!