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
AssertionError: #21
Comments
Got it, that bug needs to be removed, and for that, we just need to remove the assertion statement and that's it. Maybe, @shabie can describe why he had added that statement, but if you remove it, you would get everything working. Can you clone the repo, and then remove the statement to see if that works or not. Meanwhile, in sometime, we would try to fix that error. Hope, it helps |
Now i am facing this issue, regarding feature extraction from document |
The reason is as follows: In The implementation is like this: The bias value, I would be adding shortly. I hope you understand what I am trying to say. |
After adding the abs in a_rel_x and a_rel_y, I am getting another error now,
|
In the same function, before the return a_rel_x,a_rel_y, this is the statement which should be added, |
All this was working fine, before the changes, but I changed a bit, and this is creating some bugs :) |
I got the output as tensor, is there any way I can visualize the result
|
Awesome. so for visualization, you can take the resized_scaled_image, and convert ToPILImage function of PyTorch to convert it into an image. And then, extract the bounding box for each image (you can get it from create_features) and plot it by denormalizing the bounding box. Do let me know, if you need more help :) |
I tried but i am getting some noise instead of an image, can you give me the code |
Having extracted the image from the create_features, follow this:
|
@deepanshudashora Should we close this issue? |
Maybe, if there is no problem, we would be closing this issue. Thanks, |
First I tried with png image, later converted to tif but still it is giving this error
The text was updated successfully, but these errors were encountered: