Comments (12)
Are there any news on converting .pb to .mlmodel file?
No in this repo, but the coremltools’s related issue was closed! I’ll try again.
from tf2-mobile-2d-single-pose-estimation.
https://apple.github.io/coremltools/
coremltools 2.0.0 does not support tensorflow 2.0 yet. 😟
coremltools has the following dependencies:
- numpy (1.12.1+)
- protobuf (3.1.0+)
In addition, it has the following soft dependencies that are only needed when you are converting models of these formats:
- Keras (1.2.2, 2.0.4+) with Tensorflow (1.0.x, 1.1.x)
- Xgboost (0.6+)
- scikit-learn (0.15+)
- libSVM
Alternatively, I'll port to pure Keras project, and then train and convert the model to Core ML model.
from tf2-mobile-2d-single-pose-estimation.
Related issue on Sep 2, 2018 (not solved):
apple/coremltools#231
from tf2-mobile-2d-single-pose-estimation.
Hi @tucan9389, have you tried tf2/tf.keras -> ONNX -> CoreML conversion?
from tf2-mobile-2d-single-pose-estimation.
@AndriiTsok No, did you try in that way? or others?
from tf2-mobile-2d-single-pose-estimation.
ValueError: Keras layer '<class 'tensorflow.python.keras._impl.keras.engine.topology.InputLayer'>' not supported.
The issue was solved replacing TF-2.0-alpha0 to TF-1.13.1.
from tf2-mobile-2d-single-pose-estimation.
Hi @tucan9389, did the conversion from tf2/tf.keras -> ONNX -> CoreML work when you replaced to TF-1.13.1?
EDIT: Found your 0.1 release containing release/cpm_model/model.* Are these the models from the PoseEstimation-CoreML repository, or this one?
from tf2-mobile-2d-single-pose-estimation.
@abrowne2
0.1 version is just cloned from edvardHua/PoseEstimationForMobile repostory. It's same with PoseEstimation-CoreML.
from tf2-mobile-2d-single-pose-estimation.
TODO
- tf.keras model(
.h5
) → frozen pb(.pb
) → coreml model(.mlmodel
)
Related issue
from tf2-mobile-2d-single-pose-estimation.
from tf2-mobile-2d-single-pose-estimation.
Are there any news on converting .pb to .mlmodel file?
from tf2-mobile-2d-single-pose-estimation.
TF2's saved_model is only supported on iOS 13 (minimum_ios_deployment_target=13
) now.
from tf2-mobile-2d-single-pose-estimation.
Related Issues (20)
- Implement ModelProvider
- Experiments HOT 9
- Evaluate with MPII
- Update README for 1.0.0 HOT 1
- All in one dataset
- Pre-trained Model Release HOT 3
- Add gif demo on README
- Support hand pose estimation dataset
- Set the layer names when release
- Training trend seems weird on COCO Datasets HOT 1
- Update exp001~exper005
- Regarding changing augmentation to improve accuracy HOT 1
- KeyError: 'extra' in train.py
- Model Files Needed
- Filtering COCO keypoint dataset to single person only and convert it HOT 3
- Convert Eager to Keras fit in training HOT 8
- please provide the code python sniplet for getting keypoints from .pb modela and .tflite file
- getting error while running train.py in windows HOT 1
- RAM memory increases
- How can I add Upsampling2D at end of mv2_cpm?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tf2-mobile-2d-single-pose-estimation.