Closed SHIJILIANG01 closed 5 months ago
Hi,
I show the code below. You need to import time at the beginning.
tsince = int(round(time.time()*1000))
outputs_img = self.inpaint_model(images, masks)
ttime_elapsed = int(round(time.time()*1000))-tsince
print('test time elaspsed {}ms'.format(ttime_elapsed))
I also update in the ./src/HINT.py
Cheers.
Thank you for your excellent work. The paper mentions inference time per image, can you provide the code for reference, thanks!