Post

Replies

Boosts

Views

Activity

Reply to Convert an existing mlmodel to mlprogram?
I used coremltools to convert a pytorch neural network (style transfer) model, then use add_activation(non_linearity='LINEAR') in coremltools.models.neural_network.builder.NeuralNetworkBuilder to make the output a matrix(NCHW) of [-1, 1], finally modified the output type to coremltools. ImageType. What should I do to convert the current mlmodel to mlprogram instead of re-converting the original pytorch project?
Topic: Machine Learning & AI SubTopic: Core ML Tags:
Nov ’21
Reply to Can I identify the main colors in an image?
Finding dominant colors of an image using k-means clustering DominantColor
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to Convert an existing mlmodel to mlprogram?
I used coremltools to convert a pytorch neural network (style transfer) model, then use add_activation(non_linearity='LINEAR') in coremltools.models.neural_network.builder.NeuralNetworkBuilder to make the output a matrix(NCHW) of [-1, 1], finally modified the output type to coremltools. ImageType. What should I do to convert the current mlmodel to mlprogram instead of re-converting the original pytorch project?
Topic: Machine Learning & AI SubTopic: Core ML Tags:
Replies
Boosts
Views
Activity
Nov ’21