Skip to content

Commit

Permalink
Change to mod 777 for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Chang committed Mar 29, 2018
1 parent 0cc625d commit d42ee25
Show file tree
Hide file tree
Showing 21 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*__pycache__*
*/model/
*/models/
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified SS_NAN/LIP.py
100644 → 100755
Empty file.
Empty file modified SS_NAN/model.py
100644 → 100755
Empty file.
Empty file modified SS_NAN/psp_resnet_builder.py
100644 → 100755
Empty file.
Empty file modified VITON_Demo.py
100644 → 100755
Empty file.
Empty file modified environment.yml
100644 → 100755
Empty file.
Empty file modified model_zalando_mask_content.py
100644 → 100755
Empty file.
Empty file modified requirements.txt
100644 → 100755
Empty file.
Empty file modified run_realtime.py
100644 → 100755
Empty file.
Empty file modified run_realtime.sh
100644 → 100755
Empty file.
16 changes: 16 additions & 0 deletions server.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import socket
import pickle

serversocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
host = socket.gethostname()
print(host)
serversocket.bind(('', 8089))
serversocket.listen(2) # become a server socket, maximum 5 connections

while True:
connection, address = serversocket.accept()
buf = connection.recv(100000000)
image = pickle.loads(buf)
viton_data = {'frame': image}
viton_data_pickle = pickle.dumps(buf)
connection.send(viton_data_pickle)
Empty file modified tf_pose_estimation/src/common.py
100644 → 100755
Empty file.
Empty file modified tf_pose_estimation/src/estimator.py
100644 → 100755
Empty file.
Empty file modified tf_pose_estimation/src/network_base.py
100644 → 100755
Empty file.
Empty file modified tf_pose_estimation/src/network_cmu.py
100644 → 100755
Empty file.
Empty file modified tf_pose_estimation/src/network_dsconv.py
100644 → 100755
Empty file.
Empty file modified tf_pose_estimation/src/network_mobilenet.py
100644 → 100755
Empty file.
Empty file modified tf_pose_estimation/src/network_mobilenet_thin.py
100644 → 100755
Empty file.
Empty file modified tf_pose_estimation/src/networks.py
100644 → 100755
Empty file.
Empty file modified utils.py
100644 → 100755
Empty file.

0 comments on commit d42ee25

Please sign in to comment.