Adding a CLI tool for this project
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 850
- Avg merge
- 4d 5h
- Merged PRs (30d)
- 10
Description
## 🌱 Describe your Feature Request
Could you add a CLI to coreml that expose some of the main features from the command line?
## How can this feature be used?
I would like to use a command such as:
```
coreml convert my_model.pth
```
## Describe alternatives you've considered
Creating a python script everytime to load the model and convert it to disk
## Additional context
It could also be loaded from the python3 command line such as:
```
python3 -m coremltools convert ...
```
Using [Click](https://click.palletsprojects.com/en/8.1.x/) could be helpful to build quickly a CLI tool
Contributor guide
Research direction
Start by reviewing the `python3 -m coremltools` entry point and the existing model-conversion interfaces. Define which main features the CLI should expose, including the proposed `coreml convert my_model.pth` flow, and verify that equivalent command-line and module invocation work as intended.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100