Giter VIP home page Giter VIP logo

icdar-sroie's People

Contributors

michael-xiu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

icdar-sroie's Issues

checkpoint for trained parameters

Hi Michael,
Thanks for sharing your code. We are trying to use your code and train on the SROIE 2019 receipt dataset. However, we are getting very poor results. Can you assist us with providing your last checkpoint?
Thanks
Ahmed

This is the current train and val loss:

epoch:184 train loss:3.999357543253462 val loss:4.058299102783203
epoch:185 train loss:4.015532674487934 val loss:4.1186825561523435
epoch:186 train loss:4.000330889681215 val loss:4.067411651611328
epoch:187 train loss:4.003223073264326 val loss:4.099950981140137
epoch:180 train loss:4.001502086239528 val loss:4.044377269744873
epoch:181 train loss:3.9814491708346096 val loss:4.074534072875976
epoch:182 train loss:4.092637693624131 val loss:4.092916450500488
epoch:183 train loss:3.971474315878159 val loss:4.15595552444458
epoch:184 train loss:4.002527025892413 val loss:4.103062620162964
epoch:185 train loss:3.9752465238587034 val loss:4.050528306961059
epoch:186 train loss:3.962182341716849 val loss:4.080765295028686
epoch:187 train loss:4.000311766606996 val loss:4.108867740631103
epoch:188 train loss:3.9928070542816316 val loss:4.080308256149292
epoch:189 train loss:3.9871446995092508 val loss:4.109854030609131
epoch:190 train loss:3.9957085393629534 val loss:4.157553844451904
epoch:191 train loss:3.943965378696232 val loss:4.033948841094971
epoch:192 train loss:3.9847304602827687 val loss:4.108264808654785
epoch:192 train loss:3.9862627324566073 val loss:4.069806537628174

RunTimeError scalar type

RuntimeError: Expected object of scalar type Byte but got scalar type Bool for argument #2 'other'
ICDAR/ICDAR-SROIE/task1_SSD/model.py", line 536, in detect_objects

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

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.