Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'Tensor' object has no attribute 'width' #4

Open
15926273249 opened this issue Jun 10, 2020 · 0 comments
Open

AttributeError: 'Tensor' object has no attribute 'width' #4

15926273249 opened this issue Jun 10, 2020 · 0 comments

Comments

@15926273249
Copy link

Traceback (most recent call last):
File "eval.py", line 141, in
evaluate(test_loader, model, test_img_num)
File "eval.py", line 87, in evaluate
top_k=200, original_image = images, max_OCR_overlap=0.2, max_OCR_ratio = 0.2)
File "/ctpn/sroie/sroie/task1/model.py", line 588, in detect_objects
[original_image.width, original_image.height, original_image.width,
AttributeError: 'Tensor' object has no attribute 'width'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant