Open arinzingade opened 1 month ago
Having the same issue
The file is missing in 0.4.15, use 0.4.14
They are in these paths now according to the commits. Try to use from surya.model.detection import model instead of from surya.model.detection import segformer. It worked like a charm for me.
_from surya.model.detection import model det_processor, det_model = model.load_processor(), model.loadmodel()
They are in these paths now according to the commits. Try to use from surya.model.detection import model instead of from surya.model.detection import segformer. It worked like a charm for me.
_from surya.model.detection import model det_processor, det_model = model.load_processor(), model.loadmodel()
worked like a charm