NaturalIntelligence / imglab

To speedup and simplify image labeling/ annotation process with multiple supported formats.
https://solothought.com/imglab/
MIT License
977 stars 596 forks source link

Uncaught TypeError: Cannot read property 'class' of undefined #99

Closed forconz closed 6 years ago

forconz commented 6 years ago

Describe the bug I git clone the source code from https://github.com/NaturalIntelligence/imglab.git I copy the source code to server, and use a domain to browse index.html I can not see anything but Img Lab text, logo and donate button. I press F12, and I get some errors

To Reproduce Steps to reproduce the behavior:

  1. git clone https://github.com/NaturalIntelligence/imglab.git
  2. copy source code to server, create site from iis and bind a domain
  3. browse the domain ,
  4. press F12 to see browser console logs
  5. see errors

Screenshots 20180908121148

Console Errors Failed to load resource: the server responded with a status of 404 (Not Found) riot.min.js:2 Uncaught TypeError: Cannot read property 'class' of undefined at ye (riot.min.js:2) at t (riot.min.js:2) at gt (riot.min.js:2) at t (riot.min.js:2) at Object.Qt [as mount] (riot.min.js:2) at (index):145

amitguptagwl commented 6 years ago

Don't access index.html in the browser directly. Instead, use some server to serve the contents : https://www.npmjs.com/package/http-server

forconz commented 6 years ago

But how to save Plygon? I can not save when I use plygon

amitguptagwl commented 6 years ago

Do you mean you're not able to export data file when you use polygon shape to label an image? which data format you're exporting to?