I have error to run inference.py. Do you know solution about this?
python inference.py --img-path=./input/test_256x512.png
successful load img: ./input/test_256x512.png
1
Traceback (most recent call last):
File "inference.py", line 138, in
main()
File "inference.py", line 89, in main
net = PSPNet({'data': img}, is_training=False, num_classes=num_classes)
File "C:\Tensorflow\PSPNet-tensorflow-master\PSPNet-tensorflow-master\network.py", line 48, in init
self.setup(is_training, num_classes)
File "C:\Tensorflow\PSPNet-tensorflow-master\PSPNet-tensorflow-master\model.py", line 14, in setup
(self.feed('data')
File "C:\Tensorflow\PSPNet-tensorflow-master\PSPNet-tensorflow-master\network.py", line 81, in feed
if isinstance(fed_layer, basestring):
NameError: name 'basestring' is not defined
Hello
I have error to run inference.py. Do you know solution about this?
python inference.py --img-path=./input/test_256x512.png successful load img: ./input/test_256x512.png 1 Traceback (most recent call last): File "inference.py", line 138, in
main()
File "inference.py", line 89, in main
net = PSPNet({'data': img}, is_training=False, num_classes=num_classes)
File "C:\Tensorflow\PSPNet-tensorflow-master\PSPNet-tensorflow-master\network.py", line 48, in init
self.setup(is_training, num_classes)
File "C:\Tensorflow\PSPNet-tensorflow-master\PSPNet-tensorflow-master\model.py", line 14, in setup
(self.feed('data')
File "C:\Tensorflow\PSPNet-tensorflow-master\PSPNet-tensorflow-master\network.py", line 81, in feed
if isinstance(fed_layer, basestring):
NameError: name 'basestring' is not defined