Official implementation of DoubleU-Net for Semantic Image Segmentation in TensorFlow & Pytorch (Nominated for Best Paper Award (IEEE CBMS))
239
stars
69
forks
source link
TypeError: '<' not supported between instances of 'function' and 'str' #9
Closed
gunjan5489 closed 3 years ago
Im getting below error when im using your code predict.py after training on my dataset with 2 classes, please help
TypeError Traceback (most recent call last) /content/drive/MyDrive/Colab Notebooks/2020-CBMS-DoubleU-Net/predict.py in()
93 model = load_model_weight("/content/drive/MyDrive/Colab Notebooks/2020-CBMS-DoubleU-Net/files/dsb-model.h5")
94 model.summary()
---> 95 model.evaluate(test_dataset, steps=test_steps, verbose=1)
96 evaluate_normal(model, test_x, test_y)
10 frames /usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/func_graph.py in wrapper(*args, **kwargs) 971 except Exception as e: # pylint:disable=broad-except 972 if hasattr(e, "ag_error_metadata"): --> 973 raise e.ag_error_metadata.to_exception(e) 974 else: 975 raise
TypeError: in user code: