You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[TL] [!] checkpoint exists ...
[TL] [!] samples/all exists ...
Lossy conversion from float64 to uint8. Range [-0.19753389060497284, 2.826017379760742]. Convert image to uint8 prior to saving to suppress this warning.
[TL] [!] checkpoint exists ...
[TL] [!] samples/all exists ...
Lossy conversion from float64 to uint8. Range [-0.19753389060497284, 2.826017379760742]. Convert image to uint8 prior to saving to suppress this warning.
TypeError Traceback (most recent call last)
in
239 tl.files.save_npz(net.all_params, name=save_dir+'/u_net_{}.npz'.format(task), sess=sess)
240
--> 241 main(task='all')
242
243 ##if name == "main":
in main(task)
103 for i in range(10):
104 x_flair, x_t1, x_t1ce, x_t2, label = distort_imgs([X[:,:,0,np.newaxis], X[:,:,1,np.newaxis],
--> 105 X[:,:,2,np.newaxis], X[:,:,3,np.newaxis], y])#[:,:,np.newaxis]])
106 # print(x_flair.shape, x_t1.shape, x_t1ce.shape, x_t2.shape, label.shape) # (240, 240, 1) (240, 240, 1) (240, 240, 1) (240, 240, 1) (240, 240, 1)
107 X_dis = np.concatenate((x_flair, x_t1, x_t1ce, x_t2), axis=2)
in distort_imgs(data)
23 x1, x2, x3, x4, y = tl.prepro.zoom_multi([x1, x2, x3, x4, y],
24 zoom_range=[0.9, 1.1], is_random=True,
---> 25 fill_mode='constant')
26 return x1, x2, x3, x4, y
27
TypeError: zoom_multi() got an unexpected keyword argument 'is_random'
The text was updated successfully, but these errors were encountered: