Code Monkey home page Code Monkey logo

Comments (5)

cjplol avatar cjplol commented on August 17, 2024 1

I also have this error for the first 10 epoch, but it stopped after 10 epoch.Is your MAP value normal?

from swin-transformer-object-detection.

javierztl avatar javierztl commented on August 17, 2024

if you are training object detection without mask, your annotation area might be 0, the below check will cause no data input.

change the mmdet/datasets/coco.py line146
if ann['area'] <= 0 or w < 1 or h < 1
to if w < 1 or h < 1

from swin-transformer-object-detection.

sure7018 avatar sure7018 commented on August 17, 2024

I'm very glad to receive your reply. Thank you for proposing such an excellent swin transformer。
but
After the modification, there is still this error when running the test command. Is there anything else to modify. My config_file is cascade_mask_rcnn_swin_tiny_patch4_window7_mstrain_480-800_giou_4conv1f_adamw_3x_coco.py

from swin-transformer-object-detection.

thangnx183 avatar thangnx183 commented on August 17, 2024

it look very similar to this issue
open-mmlab#2942 (comment)

from swin-transformer-object-detection.

wongsinglam avatar wongsinglam commented on August 17, 2024

Thank you, your solution works. The problem is related to the lack of mask.

from swin-transformer-object-detection.

Related Issues (20)

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.