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
964 stars 63 forks source link

Example python scripts? #40

Closed paapu88 closed 11 months ago

paapu88 commented 11 months 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 11 months ago

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

paapu88 commented 11 months ago

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

paapu88 commented 11 months ago

closed due to inactivity

logicwong commented 11 months ago

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

Okay, I will provide sound classification API this weekend.

logicwong commented 11 months 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 11 months ago

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