Pārlūkot izejas kodu

Update README.md

Jean-Louis Queguiner 6 gadi atpakaļ
vecāks
revīzija
3cdc797f4c
1 mainītis faili ar 4 papildinājumiem un 29 dzēšanām
  1. 4 29
      README.md

+ 4 - 29
README.md

@@ -215,7 +215,7 @@ jupyter lab
 
 
 From there you can start running the notebooks in Jupyter Lab, via the url they provide you in the console.  
 From there you can start running the notebooks in Jupyter Lab, via the url they provide you in the console.  
 
 
-#### Docker for Jupyter
+#### Docker
 
 
 You can build and run the docker using the following process:
 You can build and run the docker using the following process:
 
 
@@ -226,43 +226,18 @@ git clone https://github.com/jantic/DeOldify.git DeOldify
 
 
 Building Docker
 Building Docker
 ```console
 ```console
-cd DeOldify && docker build -t deoldify_jupyter -f Dockerfile .
+cd DeOldify && docker build -t deoldify .
 ```
 ```
 
 
 Running Docker
 Running Docker
 ```console
 ```console
-echo "http://$(curl ifconfig.io):8888" && nvidia-docker run --ipc=host --env NOTEBOOK_PASSWORD="pass123" -p 8888:8888 -it deoldify_jupyter
+echo "http://$(curl ifconfig.io):8888" && nvidia-docker run --ipc=host --env NOTEBOOK_PASSWORD="pass123" -p 8888:8888 -it deoldify
 ```
 ```
 
 
-#### Docker for API
-
-You can build and run the docker using the following process:
-
-Cloning
-```console
-git clone https://github.com/jantic/DeOldify.git DeOldify
-```
-
-Building Docker
-```console
-cd DeOldify && docker build -t deoldify_api -f Dockerfile-api .
-```
-
-Running Docker
-```console
-echo "http://$(curl ifconfig.io):5000" && nvidia-docker run --ipc=host -p 5000:5000 -it deoldify_api
-```
-
-Calling the API
-```console
-curl -X POST "http://MY_SUPER_API_IP:5000/process" -H "accept: image/png" -H "Content-Type: application/json" -d "{\"source_url\":\"http://www.afrikanheritage.com/wp-content/uploads/2015/08/slave-family-P.jpeg\", \"render_factor\":35}" --output colorized_image.png
-```
-
-#### Note Regarding Docker
 If you don't have Nvidia Docker, here is the installation guide :
 If you don't have Nvidia Docker, here is the installation guide :
 https://github.com/nvidia/nvidia-docker/wiki/Installation-(version-2.0)#installing-version-20
 https://github.com/nvidia/nvidia-docker/wiki/Installation-(version-2.0)#installing-version-20
 
 
-#### Note GIT LFS (test images download support)
+#### Note 
 Make sure you have Git LFS installed if you're planning on using images in the /test_images/ folder.  Otherwise, you'll just wind up getting tiny files that will have the same file names but you will run into errors trying to open them or colorize them.  If you have a fancy shmancy git client like GitHub Desktop, it will probably prompt you to install it and do it for you.  If that doesn't happen,  get it here: https://git-lfs.github.com/
 Make sure you have Git LFS installed if you're planning on using images in the /test_images/ folder.  Otherwise, you'll just wind up getting tiny files that will have the same file names but you will run into errors trying to open them or colorize them.  If you have a fancy shmancy git client like GitHub Desktop, it will probably prompt you to install it and do it for you.  If that doesn't happen,  get it here: https://git-lfs.github.com/
 
 
 --------------------------
 --------------------------