-
Notifications
You must be signed in to change notification settings - Fork 12
2. Setup and Configuration
Nilav edited this page Sep 9, 2021
·
3 revisions
-
Install docker
- For Ubuntu (and Linux distros) - Install Docker on Ubuntu
- For Windows - Install Docker on Windows
- For Mac -
-
Install docker-compose
- For Ubuntu (and Linux distros) - Install docker-compose on Linux
- For Windows and Mac -
- Clone the repo : https://github.com/kartik4949/AutoDeploy
- Download a sample model and dependencies
- Run the command in a terminal from the AutoDeploy folder
wget https://github.com/kartik4949/AutoDeploy/files/7134516/model_dependencies.zip
- Run the command in a terminal from the AutoDeploy folder
- Extract the zip folder to get a model_dependencies folder
- Have your model ready
- Pickle file for scikitlearn
- ONNX model for Tensorflow,Pytorch, MXNet etc. How to convert to ONNX model
- Create the model dependencies
- Copy the dependencies over to a model_dependencies folder
- Setup configuration
- Build your docker image
docker build . -t autodeploy
- Start your containers
docker-compose up