3 ms·
Thank you! The goal is to make it easier for devs without a bunch of ML background to add CV features to their apps. It goes off the rails when the underlying m
by nharada 3y ago
Thank you! The goal is to make it easier for devs without a bunch of ML background to add CV features to their apps. It goes off the rails when the underlying models have weird quirks, so for example if you search "ginger" you get a bunch of cat photos, since "ginger" can be a type of cat. In those cases a little prompt tuning will fix it, so "ginger root" solves it.
Did you solve your error? If it's still happening, do you have a code snippet I can try and repro?
- neontomo 3y agoI was naming my python file zeroshot.py which is the same as the import name so it was creating a dependency error, my bad. Also needed to update my python version. However, I'm running into this error now: /opt/homebrew/lib/python3.11/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py:69: UserWarning: Specified provider 'CUDAExecutionProvider' is not in available provider names.Available providers: 'AzureExecutionProvider, CPUExecutionProvider' Not really sure what this means but I could do some searching. Could also be interesting to: - Allow base64 images - Build in real-time video classifying - Generate models in terminal
- nharada 3y agoAhh yeah that one is just a warning but I should see if I can improve it. It's basically saying that it's using CPU not GPU. EDIT: Fixed in 0.1.8 Good ideas too, especially base64 should be fairly easy to implement. I've wanted to try doing a video to see how it looks as well.
- neontomo 3y agoAlso add option for multiple classifiers perhaps. Crying, Smiling, Crying AND Smiling for example.
- jxjshaw 3y agoneontomo - thanks for your enthusiasm. do you actually want to use zeroshot in python if you had a choice? or would you prefer another language or framework? as popular as the language is getting, not everyone knows python, or has it set up. and even if they do, arguably python is not even a good language to build real applications
- neontomo 3y agoPython is a good choice imo, the other one I would suggest is working it into an API but I can work around it. My use case is not there yet so don't build it for me.