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
981 stars 64 forks source link

Example python scripts? #40

Closed paapu88 closed 1 year ago

paapu88 commented 1 year ago

Dear Developers,

It would be great if you could give some simple example python scripts for 1) image classification 2) sound classification 3) video action recognition

In the examples one should read in a simple input file and produce a result with a pretrained network. Terveisin, Markus

logicwong commented 1 year ago

Hello, we have provided some APIs in the README, can they meet your needs?

paapu88 commented 1 year ago

No, those were not the tasks I was looking for.

paapu88 commented 1 year ago

closed due to inactivity

logicwong commented 1 year ago

No, those were not the tasks I was looking for.

Okay, I will provide sound classification API this weekend.

logicwong commented 1 year ago

@paapu88 Hi, we have provided the simple python scripts for audio classification here. If you're looking for image classification and video action recognition, please refer to this Readme for further guidance. We hope these resources can help you.

paapu88 commented 1 year ago

Thanks, I can confirm your new example works perfectly (in amazon v100 with a single GPU)!