PsychoinformaticsLab / pliers

Automated feature extraction in Python
https://pliers.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
293 stars 68 forks source link

Upcoming Clarifai API change #489

Open emdupre opened 1 year ago

emdupre commented 1 year ago

Clarifai recently announced that on March 30, 2023, they will be rolling out a major change to their API, specifically how personal access tokens (PATs) and API keys work.

The full summary is available in that announcement, but in brief :

What is changing? Previously, you could use API keys to access any model, concept, or workflow owned by the app scoped to the API key, as well as those owned by the user clarifai in the application main. Now, accessing models or workflows owned by clarifai in the application main can only be done with a PAT tied to your account.

It would be useful to plan for changes the Clarifai extractors as necessary !

adelavega commented 1 year ago

Oh joy, how I love APIs :) Thanks for keeping us informed!

emdupre commented 1 year ago

I'm happy to help with the upcoming changes, but I know that API moving targets have been a point of frustration in the past. So, as long as you're not planning to deprecate Clarifai access on 30 March, I can work on these changes !

adelavega commented 1 year ago

Well, actually I'd love your input here. If you think Clarifai is helpful, and the changes seem not too hard, then I say we go for it.

But I'm also happy to deprecate Clarifai and focus our efforts on instead finding a suitable local ML model that provides similar results (I'm sure there are many now-- TensorFlow hub, etc).

rbroc commented 1 year ago

I wonder if this could be a good alternative? https://github.com/ViCCo-Group/THINGSvision

emdupre commented 1 year ago

Personally, I think Clarifai is helpful, and I think it would make sense to maintain access to it while investigating other local models -- especially if we can decouple that timeline from the new API rollout.

So, feel free to assign me on this :)

adelavega commented 1 year ago

Sounds good to me! Assigned ;)