Skip to content

Error in running label-maker for skynet-train #122

Closed
@emackres

Description

@emackres

Great to see this new data prep workflow for Skynet.
https://github.com/developmentseed/label-maker/blob/master/examples/skynet-train-data-prep.md

After using label-maker, I got the utility script to run but got an error:

Traceback (most recent call last):
  File "skynet.py", line 24, in <module>
    img = Image.fromarray(label.astype(np.uint8))
  File "/Users/eric/anaconda3/lib/python3.6/site-packages/PIL/Image.py", line 2431, in fromarray
    size = shape[1], shape[0]
IndexError: tuple index out of range

It would be great to know if this is a problem with my setup, or if others are experiencing it and to get it addressed.

Also, I think there is a typo and the reference to the utility script python utils/segnet.py should actually be python utils/skynet.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions