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
error: could not convert ‘at::CUDA(((c10::ScalarType)c10::kFloat))’ from ‘at::DeprecatedTypeProperties’ to ‘c10::IntArrayRef’ {aka ‘c10::ArrayRef<long int>’} 44 | auto max_val = at::zeros(torch::CUDA(at::kFloat), {batch, channel, width});
#18
Open
calendar3450 opened this issue
Apr 25, 2022
· 2 comments
HI I read your paper and interesting about your chartOCR. But I have a error.
error: could not convert ‘at::CUDA(((c10::ScalarType)c10::kFloat))’ from ‘at::DeprecatedTypeProperties’ to ‘c10::IntArrayRef’ {aka ‘c10::ArrayRef’}
44 | auto max_val = at::zeros(torch::CUDA(at::kFloat), {batch, channel, width});
I read read me and git clone CornerNet but I dont know about this error I install cuda and install all package
The text was updated successfully, but these errors were encountered:
In all the places you have to change order of at::zeros arguments. For example, change at::zeros(torch::CUDA(at::kFloat), {batch, channel, width}); into at::zeros({batch, channel, width}, torch::CUDA(at::kFloat));
In all the places you have to change order of at::zeros arguments. For example, change at::zeros(torch::CUDA(at::kFloat), {batch, channel, width}); into at::zeros({batch, channel, width}, torch::CUDA(at::kFloat));
HI I read your paper and interesting about your chartOCR. But I have a error.
error: could not convert ‘at::CUDA(((c10::ScalarType)c10::kFloat))’ from ‘at::DeprecatedTypeProperties’ to ‘c10::IntArrayRef’ {aka ‘c10::ArrayRef’}
44 | auto max_val = at::zeros(torch::CUDA(at::kFloat), {batch, channel, width});
I read read me and git clone CornerNet but I dont know about this error I install cuda and install all package
The text was updated successfully, but these errors were encountered: