Coder Social home page Coder Social logo

Comments (1)

crmuinos avatar crmuinos commented on May 28, 2024

After doing docker restart it appears the LV Sunny segmentation button for both create dataSet and model, but when trying to create a dataset, it fails. It seems to be a PIL problem

2022-04-14 00:47:16 [INFO ] Created features db for stage train_db in train_db/features
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/opt/digits/digits/tools/create_generic_db.py", line 278, in run
self.writer.write_batch(data)
File "/opt/digits/digits/tools/create_generic_db.py", line 169, in write_batch
self.feature_encoding)
File "/opt/digits/digits/tools/create_generic_db.py", line 133, in array_to_datum
PIL.Image.fromarray(data).save(s, format='PNG')
File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 2419, in fromarray
raise TypeError("Cannot handle this data type")
TypeError: Cannot handle this data type
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/opt/digits/digits/tools/create_generic_db.py", line 278, in run
self.writer.write_batch(data)
File "/opt/digits/digits/tools/create_generic_db.py", line 169, in write_batch
self.feature_encoding)
File "/opt/digits/digits/tools/create_generic_db.py", line 133, in array_to_datum
PIL.Image.fromarray(data).save(s, format='PNG')
File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 2419, in fromarray
raise TypeError("Cannot handle this data type")
TypeError: Cannot handle this data type
Exception in thread Thread-5:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/opt/digits/digits/tools/create_generic_db.py", line 278, in run
self.writer.write_batch(data)
File "/opt/digits/digits/tools/create_generic_db.py", line 169, in write_batch
self.feature_encoding)
File "/opt/digits/digits/tools/create_generic_db.py", line 133, in array_to_datum
PIL.Image.fromarray(data).save(s, format='PNG')
File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 2419, in fromarray
raise TypeError("Cannot handle this data type")
TypeError: Cannot handle this data type
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/opt/digits/digits/tools/create_generic_db.py", line 278, in run
self.writer.write_batch(data)
File "/opt/digits/digits/tools/create_generic_db.py", line 169, in write_batch
self.feature_encoding)
File "/opt/digits/digits/tools/create_generic_db.py", line 133, in array_to_datum
PIL.Image.fromarray(data).save(s, format='PNG')
File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 2419, in fromarray
raise TypeError("Cannot handle this data type")
TypeError: Cannot handle this data type
2022-04-14 00:47:16 [ERROR] TypeError: Cannot handle this data type
2022-04-14 00:47:16 [ERROR] TypeError: Cannot handle this data type
2022-04-14 00:47:16 [ERROR] TypeError: Cannot handle this data type
2022-04-14 00:47:16 [ERROR] TypeError: Cannot handle this data type
2022-04-14 00:47:16 [ERROR] Exception: TypeError: Cannot handle this data type
Traceback (most recent call last):
File "/opt/digits/digits/tools/create_generic_db.py", line 478, in
args['stage']
File "/opt/digits/digits/tools/create_generic_db.py", line 443, in create_generic_db
force_same_shape)
File "/opt/digits/digits/tools/create_generic_db.py", line 341, in create_db
raise Exception(err)

from digits.

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.