Skip to content

Error when using ICNet model #10

@htadashi

Description

@htadashi

Hi!

First of all, thanks for sharing your very helpful code.
Following the README.md, I have downloaded icnet.npy from Google Drive link to the model/cityscapes folder.

However, when I run

python inference.py --img-path input/outdoor_1.png --model icnet

the following error happens:

Traceback (most recent call last):
  File "inference.py", line 65, in <module>
    main()
  File "inference.py", line 44, in main
    model = ICNet()
  File "/home/tadashi/ML/semantic-segmentation-tensorflow/model.py", line 907, in __init__
    super().__init__({'data': self.img_tf}, num_classes, is_training)
TypeError: super() takes at least 1 argument (0 given)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions