Skip to content

Commit 2fb7c8f

Browse files
authored
Merge pull request NVIDIA#149 from HanbumKo/HanbumKo-patch-1
Update inference.py
2 parents 9d9e14e + 8d365d4 commit 2fb7c8f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

PyTorch/Detection/SSD/dle/inference.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
def load_image(image_path):
1919
"""Code from Loading_Pretrained_Models.ipynb - a Caffe2 tutorial"""
20-
mean, std = 128, 128
2120
img = skimage.img_as_float(skimage.io.imread(image_path))
2221
if len(img.shape) == 2:
2322
img = np.array([img, img, img]).swapaxes(0,2)

0 commit comments

Comments
 (0)