This project is designed to convert grayscale images into color. The project is Dockerized for ease of deployment and portability.
- Docker: Make sure Docker is installed and running on your local machine.
1.Clone the Repository:
2.Download the Model:
- Download the .pth model file from the provided Google Drive link and place it in the app/ directory.
` https://drive.google.com/file/d/1DatbUzCuSm7QcPqEg7gtB60imLp_RMG3/view?usp=sharing `
3.Build the Docker Image:
- Navigate to the root directory of the project and build the Docker image:
` docker build -t pix2pix_image . `
4.Run the Docker Container:
- Once the image is built, run the Docker container using the following command:
` docker run --name pix2pix_container -p 8000:8000 pix2pix_image `
5.Access the API:
- After the container is running, you can access the application at ` http://localhost:8000/docs ` .