Giter VIP home page Giter VIP logo

Comments (9)

ybai62868 avatar ybai62868 commented on August 19, 2024 2

Not *.zip but *.jpg. And you also need create a folder named annotations which should contains instance_train/val{}.json for your training and testing in the coco dir.

from cornernet-lite.

cwjhx avatar cwjhx commented on August 19, 2024

the following is my structure according to the document
+CornerNet-Lite
+data
+coco
+images
+trainval2014
+ *.jpg
+minival2014
+ *.jpg
+testdev2017
+ *.jpg
+annotations
-instances_trainval2014.json
-instances_minival2014.json
-instances_testdev2017.json
but I met the same problem.

from cornernet-lite.

yangkai12 avatar yangkai12 commented on August 19, 2024

i met the same issue,how to solve it? thanks

from cornernet-lite.

ybai62868 avatar ybai62868 commented on August 19, 2024

The reason why you meet this issue is that your model can't read the image successful. So carefully check the xxx.py in core/dbs. The original repo has no bug with that problem and I also successfully train the CornerNet-Lite on my own dataset. The only drawback is that the training speed is so slow :<

from cornernet-lite.

shengmingkai avatar shengmingkai commented on August 19, 2024

i met the same issue,how to solve it? thanks

do you hava solve it? i met the same issue.my structure is like yours.

from cornernet-lite.

SeeeeShiwei avatar SeeeeShiwei commented on August 19, 2024

do you hava solve it?

from cornernet-lite.

qutrino avatar qutrino commented on August 19, 2024

I had the same problem, and found the workaround of it.

  • trainval2014 <- jpgs from train2014.zip + val2014.zip
  • minival2014 <- jpgs from val2014.zip
  • testdev2017 <- jpgs from test2017.zip

from cornernet-lite.

WIll-Xu35 avatar WIll-Xu35 commented on August 19, 2024

Hi all, I met the same problem here. I only modified the gpu number and the rest of the codes are not touched.

It seems that the code is combining wrong pairs of directory and image image. For example, combining test directory with val image name, resulting in a wrong image file path.

from cornernet-lite.

ZCDu avatar ZCDu commented on August 19, 2024

I need help.I also meet this problem. Trying all the suggestions above,I can not get the true. ''NoneType' object has no attribute 'shape'' is being here whatever i do.

from cornernet-lite.

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.