Skip to content

Commit 856406f

Browse files
authored
Update test.py
1 parent 51a99bd commit 856406f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def load_model(model, pretrained_path, load_to_cpu):
101101
resize = 1'''
102102

103103
_t = {'forward_pass': Timer(), 'misc': Timer()}
104+
img_path = '/content/test.jpg'
104105
img_raw = cv2.imread(img_path, cv2.IMREAD_COLOR)
105106
img = np.float32(img_raw)
106107
im_height, im_width, _ = img.shape

0 commit comments

Comments
 (0)