baaivision / EVA

EVA Series: Visual Representation Fantasies from BAAI
MIT License
2.13k stars 150 forks source link

.py file for single image inference #4

Closed nikolaydyankov closed 1 year ago

nikolaydyankov commented 1 year ago

Thank you so much for releasing this, I can't wait to try it on my own data. Are you planning to release a py script for single image inference?

Yuxin-CV commented 1 year ago

Hi, please refer to https://github.com/baaivision/EVA/blob/master/clip/README.md for single image inference with EVA-CLIP

nikolaydyankov commented 1 year ago

It looks like adapting that code to do segmentation is beyond me, I'll just wait for examples to pop up from somewhere.

nikolaydyankov commented 1 year ago

For example when I do model = build_segmentor(cfg.model) I'm getting this:

KeyError: 'EncoderDecoderMask2Former is not in the models registry

Yuxin-CV commented 1 year ago

This issue is no longer active in 20 days, as such I'm closing this. Feel free to ask if you have further questions.