Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DIGITS DOCKET CONTAINER INSTALLING SUNNY PLUGIN #2247

Open
crmuinos opened this issue Apr 14, 2022 · 1 comment
Open

DIGITS DOCKET CONTAINER INSTALLING SUNNY PLUGIN #2247

crmuinos opened this issue Apr 14, 2022 · 1 comment

Comments

@crmuinos
Copy link

crmuinos commented Apr 14, 2022

I'm Sorry, I'm trying to install Sunnybrook for the segmentation example on the docker container, as I want to run it over the TensorFlow backend (not Coffe). I tried to repeat the install procedure from inside the container doing docker exec -it XXXXX bash, being XXX the container ID, and later downloading the plugin from https://github.com/NVIDIA/DIGITS/tree/master/plugins/data and later doing the install proccedure, but it not works. Is there any official way to do this?
I did
pip install --ignore-installed setuptools (no error appears)

Installing collected packages: setuptools
Successfully installed setuptools-44.1.1

git clone https://github.com/NVIDIA/DIGITS.git
I went to /DIGITS/plugins/data/sunnybrook via "cd"
finally I run
pip install .
No error appear, but after restarting docker, when trying to create a Sunny dataset it fails
(See in the following post the error, I've posted appart, for clarity)

Can you help please?
Kind regards

@crmuinos
Copy link
Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant