[~] Refactor

This commit is contained in:
Siarhei Siniak 2021-07-23 10:36:42 +03:00
parent 4cb6b81a8a
commit b01be703e5

@ -1100,7 +1100,11 @@ def kernel_15(
display=False, display=False,
) )
f = matplotlib.pyplot.figure(figsize=(15, 9)) f = matplotlib.pyplot.figure(figsize=(8, 16))
matplotlib.pyplot.subplot(2, 1, 1)
matplotlib.pyplot.imshow(t14)
matplotlib.pyplot.subplot(2, 1, 2)
matplotlib.pyplot.imshow(t32['img_canvas'])
matplotlib.pyplot.title( matplotlib.pyplot.title(
'name %s, score %s, frame_id %d' % ( 'name %s, score %s, frame_id %d' % (
t8['name'], t8['name'],
@ -1108,10 +1112,6 @@ def kernel_15(
t8.frame_id, t8.frame_id,
) )
) )
matplotlib.pyplot.subplot(1, 2, 1)
matplotlib.pyplot.imshow(t14)
matplotlib.pyplot.subplot(1, 2, 2)
matplotlib.pyplot.imshow(t32['img_canvas'])
t25 = os.path.join( t25 = os.path.join(
t30, t30,
'kernel_15-%s-%05d.jpg' % ( 'kernel_15-%s-%05d.jpg' % (