Closed varungupta31 closed 2 years ago
Hi, this is a known problem and we are fixing it. To avoid this problem, you can replace the train and validation dataset information in segformer_b5.yaml with the train and validation dataset information in bisenet_optic_disc_512x512_1k.yaml.
Hi, I also have this problem. My solution is to comment all code that raises Exceptions. After commenting all of this code, it will begin to inference immediately.
@BangwenHe Thanks for the reply, I partially completed my need to use this segmenter by using Detic instead for the time being/If I need to return to PaddleSeg for some reason, I will keep this in mind. This hopefully helps someone else facing similar issue as well :)
Keeping the thread open until it is officially resolved by the dev team.
@BangwenHe @varungupta31 Hi all, we have fixed the bug after merging this pr, https://github.com/PaddlePaddle/PaddleSeg/pull/1816. Please use the latest develop branch.
I'm trying to run segmentation on custom images using the pre-trained model - 'Segformer B5' I have completed the installation sucessfully.
model.pdparams
is stored undermodel/model.pdparams
docs/images/city.jpg
Upon running the script -
or
I'm getting the following error:
However, when I run:
the
optic_disc_seg dataset
starts downloading: (thus my installation is correct)I want to run segmentation of street images, using suitable pre-trained model. How can I run the pre-trained Segformer B5 model on custom images? Thank you. @michaelowenliu