OFA-Sys / ONE-PEACE

A general representation model across vision, audio, language modalities. Paper: ONE-PEACE: Exploring One General Representation Model Toward Unlimited Modalities
Apache License 2.0
935 stars 57 forks source link

segmentation tasks #14

Closed youngbaldy closed 1 year ago

youngbaldy commented 1 year ago

when i want to use one_peace_vision.pt as pretrained model for vision tasks, i met this error:

i dont know how to handle this problem...

simonJJJ commented 1 year ago

Hi, follow link to extract vision branch model. For example:

python convert_to_vision.py /path/to/one-peace.pt /save_path/one-peace-vision.pkl

Then use the one-peace-vision.pkl for semantic segmentation.

Note that the one_peace_vision.pth is different from one-peace-vision.pkl in model names.

youngbaldy commented 1 year ago

oooook, i will try as u suggested, hope you have a nice day, 3Q~