jerry4308
Results
3
comments of
jerry4308
後來我發現把出錯那行裡面所提的那5個變數,全部轉型成為int資料型態就可以了,已解決!
w0, h0, s, t[0], t[1] I remember I just changed the type of the above variables as the same type. ^^
You can do this to fix the problem. output1 = s.item() output2 = t.item(0) output3 = t.item(1) trans_params = np.array([w0, h0, output1, output2, output3])