Open locnnil opened 4 months ago
This is a known issue. If you look carefully at the error line:
'<!DO', should be 'TFL3'
That <!DO
looks familiar. Almost like an html page.
When the snap is built, the models are downloaded from various sources. Some of those sources are Google, but in the video classification case it is tfhub.dev
: https://github.com/tensorflow/examples/blob/master/lite/examples/video_classification/raspberry_pi/setup.sh#L17C17-L17C26
At the time of building the snap this server responded with the error page that got stored in the model file in the snap.
I think we have two options:
In both cases this will mean changing the upstream setup file which we currently rely on to download the dependencies.
I suggest keeping this simple and making the build fails when the model isn't fetched correctly, perhaps via a checksum verification.
On RPi4, running noble:
Not sure if related, but when running with root privileges, it gets the same error with the AppArmor denial:
Additional info: