Commit 834fd6bf authored by Teodors EGLITIS's avatar Teodors EGLITIS

solved *.npy load in tests for Python3

parent 602ed469
Pipeline #5086 passed with stages
in 12 minutes and 34 seconds
......@@ -235,7 +235,7 @@ def test_ConstructAnnotations():
image = bob.io.base.load( image_filename )
roi_annotations = np.loadtxt(roi_annotations_filename, dtype='uint16')
roi_annotations = [tuple([point[0], point[1]]) for point in roi_annotations]
fp = open(vein_annotations_filename, 'rt')
fp = open(vein_annotations_filename, 'rb')
vein_annotations = np.load(fp)
vein_annotations = vein_annotations['arr_0'].tolist()
fp.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment