python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
When I convert a my trained pytorch model to coreml model, I got this error:
File "/Users/lion/Documents/MyLab/web_workspace/sky_replacement/venv/lib/python3.9/site-packages/torch/jit/_serializat...
Yue Zhang
Votes: 0
Answers: 2
How to use CoreML model output MLMultiArray
I need to parse the results in the output of prediction from a CoreML model.
I can see that the type of output is MLMultiArray, but when I use the type within my code like this:
let a = MultiArray<...
Franva
Votes: 0
Answers: 1
CoreML fails to predict: Input Image size does not match
I created a Model using CreateML Style Transfer template, the output tab shows, input/output image size 512x512, But I am capturing the video at 1080x1920. When I try to Stylize the image it gives me ...
K_Mohit
Votes: 0
Answers: 0
coremltools: output has no shape and cannot be used in pipeline -- how to fix it?
When I convert tensorflow.keras models to CoreML using coremltools, my models end up having no output shape. I.e., if model is my coremltools.models.MLModel instance, model.get_spec().description.outp...
sampleuser
Votes: 0
Answers: 0