Open WestbrookZero opened 3 years ago
ArgumentNullException: Value cannot be null. Parameter name: shader UnityEngine.Material..ctor (UnityEngine.Shader shader) (at <9ab4ea689a4f4e68aced38ff0340a79f>:0) TensorFlowLite.TextureToTensor.Resize (UnityEngine.Texture texture, TensorFlowLite.TextureToTensor+ResizeOptions options) (at Assets/Samples/Common/TextureToTensor.cs:57) TensorFlowLite.BaseImagePredictor`1[T].ToTensor (UnityEngine.Texture inputTex, System.Single[,,] inputs) (at Assets/Samples/Common/BaseImagePredictor.cs:60) TensorFlowLite.DeepLab.Invoke (UnityEngine.Texture inputTex) (at Assets/Samples/DeepLab/DeepLab.cs:91) DeepLabVFX.Update () (at Assets/Samples/DeepLab/DeepLabVFX.cs:48)
Slap this in your project, it's just looking for a shader which is missing https://gist.github.com/asus4/215cc8a85d2fb16aceae0d0185e10db3
ArgumentNullException: Value cannot be null. Parameter name: shader UnityEngine.Material..ctor (UnityEngine.Shader shader) (at <9ab4ea689a4f4e68aced38ff0340a79f>:0) TensorFlowLite.TextureToTensor.Resize (UnityEngine.Texture texture, TensorFlowLite.TextureToTensor+ResizeOptions options) (at Assets/Samples/Common/TextureToTensor.cs:57) TensorFlowLite.BaseImagePredictor`1[T].ToTensor (UnityEngine.Texture inputTex, System.Single[,,] inputs) (at Assets/Samples/Common/BaseImagePredictor.cs:60) TensorFlowLite.DeepLab.Invoke (UnityEngine.Texture inputTex) (at Assets/Samples/DeepLab/DeepLab.cs:91) DeepLabVFX.Update () (at Assets/Samples/DeepLab/DeepLabVFX.cs:48)