Instructions to use unity/inference-engine-whisper-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- unity-sentis
How to use unity/inference-engine-whisper-tiny with unity-sentis:
string modelName = "[Your model name here].sentis"; Model model = ModelLoader.Load(Application.streamingAssetsPath + "/" + modelName); IWorker engine = WorkerFactory.CreateWorker(BackendType.GPUCompute, model); // Please see provided C# file for more details
- Notebooks
- Google Colab
- Kaggle
Assets\Scripts\RunWhisper.cs(52,5): error CS0122: 'Ops' is inaccessible due to its protection level
#8
by humbertomartinezg - opened
Im using 1.4.0-pre.2, and getting the following console errors
Assets\Scripts\RunWhisper.cs(52,5): error CS0122: 'Ops' is inaccessible due to its protection level
Assets\Scripts\RunWhisper.cs(53,5): error CS0246: The type or namespace name 'ITensorAllocator' could not be found (are you missing a using directive or an assembly reference?)
any suggestions?
Tnx!
I had the same problem. The issue was the example I was using was based on sentis 1.3, which can't read in the .sentis files from this repo. updating to 1.4 requires a code change to the RunWhisper.cs file.