diff --git a/.circleci/config.yml b/.circleci/config.yml index 14f8b2fe..0ef6e768 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,7 +13,7 @@ jobs: ssh-host: ${SSH_HOST_CNTK_IMAGE_RECON} ssh-user: ${SSH_USER_CNTK_IMAGE_RECON} service-dir: "services/cntk-image-recon" - mainnet-port: "7004" + mainnet-port: "7015" testnet-port: "7054" run-command: "source '/cntk/activate-cntk';python3 run_service.py --ssl" docker-test-files: "Dockerfile, requirements.txt" @@ -35,7 +35,7 @@ jobs: ssh-host: ${SSH_HOST_DEEPFAKES_FACESWAP} ssh-user: ${SSH_USER_DEEPFAKES_FACESWAP} service-dir: "services/deepfakes-faceswap" - mainnet-port: "7060" + mainnet-port: "7021" testnet-port: "7061-7062" run-command: "python3 run_service.py --ssl" docker-test-files: "Dockerfile, requirements.txt" @@ -57,7 +57,7 @@ jobs: ssh-host: ${SSH_HOST_DEOLDIFY_COLORIZER} ssh-user: ${SSH_USER_DEOLDIFY_COLORIZER} service-dir: "services/deoldify-colorizer" - mainnet-port: "7084" + mainnet-port: "7037" testnet-port: "7085" run-command: "python3 run_service.py --ssl" docker-test-files: "Dockerfile, requirements.txt" @@ -79,7 +79,7 @@ jobs: ssh-host: ${SSH_HOST_I3D_VIDEO_ACTION_RECON} ssh-user: ${SSH_USER_I3D_VIDEO_ACTION_RECON} service-dir: "services/i3d-video-action-recognition" - mainnet-port: "7005" + mainnet-port: "7023" testnet-port: "7055" run-command: "python3 run_service.py --ssl" docker-test-files: "Dockerfile, requirements.txt" @@ -101,7 +101,7 @@ jobs: ssh-host: ${SSH_HOST_PLACES365_SCENE_RECOGNITION} ssh-user: ${SSH_USER_PLACES365_SCENE_RECOGNITION} service-dir: "services/places365-scene-recognition" - mainnet-port: "7019" + mainnet-port: "7027" testnet-port: "7079" run-command: "python3 run_service.py --ssl" docker-test-files: "Dockerfile, requirements.txt" @@ -123,7 +123,7 @@ jobs: ssh-host: ${SSH_HOST_PNEUMONIA_DIAGNOSIS} ssh-user: ${SSH_USER_PNEUMONIA_DIAGNOSIS} service-dir: "services/pneumonia-diagnosis" - mainnet-port: "7072" + mainnet-port: "7028" testnet-port: "7062" run-command: "python3 run_service.py --ssl" docker-test-files: "Dockerfile, requirements.txt" @@ -145,7 +145,7 @@ jobs: ssh-host: ${SSH_HOST_VOICE_CLONING} ssh-user: ${SSH_USER_VOICE_CLONING} service-dir: "services/real-time-voice-cloning" - mainnet-port: "7064" + mainnet-port: "7036" testnet-port: "7065" run-command: "python3 run_service.py --ssl" docker-test-files: "Dockerfile, requirements.txt" @@ -167,7 +167,7 @@ jobs: ssh-host: ${SSH_HOST_S2VT_VIDEO_CAPTIONING} ssh-user: ${SSH_USER_S2VT_VIDEO_CAPTIONING} service-dir: "services/s2vt-video-captioning" - mainnet-port: "7006" + mainnet-port: "7029" testnet-port: "7056" run-command: "python run_service.py --ssl" docker-test-files: "Dockerfile, requirements.txt" @@ -189,7 +189,7 @@ jobs: ssh-host: ${SSH_HOST_SOUND_SPLEETER} ssh-user: ${SSH_USER_SOUND_SPLEETER} service-dir: "services/sound-spleeter" - mainnet-port: "7066" + mainnet-port: "7068" testnet-port: "7067" run-command: "python3 run_service.py --ssl" docker-test-files: "Dockerfile, requirements.txt" @@ -211,7 +211,7 @@ jobs: ssh-host: ${SSH_HOST_YOLOv3_OBJECT_DETECTION} ssh-user: ${SSH_USER_YOLOv3_OBJECT_DETECTION} service-dir: "services/yolov3-object-detection" - mainnet-port: "7007" + mainnet-port: "7034" testnet-port: "7057" run-command: "python3 run_service.py --ssl" docker-test-files: "Dockerfile, requirements.txt" @@ -233,7 +233,7 @@ jobs: ssh-host: ${SSH_HOST_CHESS_ALPHA_ZERO} ssh-user: ${SSH_USER_CHESS_ALPHA_ZERO} service-dir: "services/zeta36-chess-alpha-zero" - mainnet-port: "7008" + mainnet-port: "7035" testnet-port: "7058" run-command: "python3.6 run_service.py --ssl" docker-test-files: "Dockerfile, requirements.txt" diff --git a/services/cntk-image-recon/Dockerfile b/services/cntk-image-recon/Dockerfile index 9e519e1c..e8d8826e 100644 --- a/services/cntk-image-recon/Dockerfile +++ b/services/cntk-image-recon/Dockerfile @@ -20,7 +20,7 @@ RUN apt-get update && \ curl # Installing SNET Daemon -RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v3.1.6"` && \ +RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v5.0.1"` && \ SNETD_VERSION=${snetd_version:-${SNETD_GIT_VERSION}} && \ cd /tmp && \ wget https://github.com/singnet/snet-daemon/releases/download/${SNETD_VERSION}/snet-daemon-${SNETD_VERSION}-linux-amd64.tar.gz && \ diff --git a/services/cntk-image-recon/run_service.py b/services/cntk-image-recon/run_service.py index b93ed185..30a84af9 100644 --- a/services/cntk-image-recon/run_service.py +++ b/services/cntk-image-recon/run_service.py @@ -80,7 +80,7 @@ def add_extra_configs(conf): pk_metering = os.environ.get("PVT_KEY_FOR_METERING", "") if pk_metering: snetd_configs["metering_enabled"] = True - snetd_configs["metering_end_point"] = "https://{}-marketplace.singularitynet.io".format(_network) + snetd_configs["metering_end_point"] = "https://marketplace-mt-v2.singularitynet.io" snetd_configs["pvt_key_for_metering"] = pk_metering with open(conf, "w") as f: json.dump(snetd_configs, f, sort_keys=True, indent=4) diff --git a/services/cntk-image-recon/snetd_configs/snetd.mainnet.json b/services/cntk-image-recon/snetd_configs/snetd.mainnet.json index b7e675af..4d64eabb 100644 --- a/services/cntk-image-recon/snetd_configs/snetd.mainnet.json +++ b/services/cntk-image-recon/snetd_configs/snetd.mainnet.json @@ -1,5 +1,5 @@ { - "daemon_end_point": "0.0.0.0:7004", + "daemon_end_point": "0.0.0.0:7015", "ipfs_end_point": "http://ipfs.singularitynet.io:80", "passthrough_endpoint": "http://localhost:7003", "blockchain_network_selected": "main", diff --git a/services/deepfakes-faceswap/Dockerfile b/services/deepfakes-faceswap/Dockerfile index 9f34ad17..91522a52 100644 --- a/services/deepfakes-faceswap/Dockerfile +++ b/services/deepfakes-faceswap/Dockerfile @@ -25,7 +25,7 @@ RUN apt-get install -y libglib2.0-0 libsm6 libxext6 libxrender-dev RUN apt-get install -y python3 python3-pip ffmpeg # Installing SNET Daemon -RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v3.1.6"` && \ +RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v5.0.1"` && \ SNETD_VERSION=${snetd_version:-${SNETD_GIT_VERSION}} && \ cd /tmp && \ wget https://github.com/singnet/snet-daemon/releases/download/${SNETD_VERSION}/snet-daemon-${SNETD_VERSION}-linux-amd64.tar.gz && \ @@ -45,7 +45,7 @@ RUN cd ${SERVICES_FOLDER}/${SERVICE_NAME} && \ pip3 install git+https://github.com/arturgontijo/content-server.git RUN cd ${SERVICES_FOLDER}/${SERVICE_NAME} && \ - pip3 install -U pip && \ + pip3 install -U pip==20.2.4 && \ pip3 install -r requirements.txt && \ sh buildproto.sh diff --git a/services/deepfakes-faceswap/run_service.py b/services/deepfakes-faceswap/run_service.py index 9497fe92..11fec737 100644 --- a/services/deepfakes-faceswap/run_service.py +++ b/services/deepfakes-faceswap/run_service.py @@ -92,7 +92,7 @@ def add_extra_configs(conf): pk_metering = os.environ.get("PVT_KEY_FOR_METERING", "") if pk_metering: snetd_configs["metering_enabled"] = True - snetd_configs["metering_end_point"] = "https://{}-marketplace.singularitynet.io".format(_network) + snetd_configs["metering_end_point"] = "https://marketplace-mt-v2.singularitynet.io" snetd_configs["pvt_key_for_metering"] = pk_metering with open(conf, "w") as f: json.dump(snetd_configs, f, sort_keys=True, indent=4) diff --git a/services/deepfakes-faceswap/snetd_configs/snetd.mainnet.json b/services/deepfakes-faceswap/snetd_configs/snetd.mainnet.json index da0c0381..52de77f4 100644 --- a/services/deepfakes-faceswap/snetd_configs/snetd.mainnet.json +++ b/services/deepfakes-faceswap/snetd_configs/snetd.mainnet.json @@ -1,5 +1,5 @@ { - "daemon_end_point": "0.0.0.0:7060", + "daemon_end_point": "0.0.0.0:7021", "ipfs_end_point": "http://ipfs.singularitynet.io:80", "passthrough_endpoint": "http://localhost:7003", "blockchain_network_selected": "main", diff --git a/services/deoldify-colorizer/Dockerfile b/services/deoldify-colorizer/Dockerfile index 8f84d94f..5a7c168d 100644 --- a/services/deoldify-colorizer/Dockerfile +++ b/services/deoldify-colorizer/Dockerfile @@ -23,7 +23,7 @@ RUN apt-get update && \ RUN apt-get install -y libglib2.0-0 libsm6 libxext6 libxrender-dev # Installing SNET Daemon -RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v3.1.3"` && \ +RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v5.0.1"` && \ SNETD_VERSION=${snetd_version:-${SNETD_GIT_VERSION}} && \ cd /tmp && \ wget https://github.com/singnet/snet-daemon/releases/download/${SNETD_VERSION}/snet-daemon-${SNETD_VERSION}-linux-amd64.tar.gz && \ @@ -41,11 +41,11 @@ RUN cd ${SINGNET_REPOS} && \ RUN cd ${SERVICES_FOLDER}/${SERVICE_NAME} && \ git submodule update --init -- DeOldify && \ cd DeOldify && \ + pip install -U pip==20.2.4 && \ pip install -r requirements.txt # Building protobuf messages RUN cd ${SERVICES_FOLDER}/${SERVICE_NAME} && \ - pip install -U pip && \ pip install -r requirements.txt && \ sh buildproto.sh diff --git a/services/deoldify-colorizer/run_service.py b/services/deoldify-colorizer/run_service.py index d44373f4..88fc418f 100644 --- a/services/deoldify-colorizer/run_service.py +++ b/services/deoldify-colorizer/run_service.py @@ -80,7 +80,7 @@ def add_extra_configs(conf): pk_metering = os.environ.get("PVT_KEY_FOR_METERING", "") if pk_metering: snetd_configs["metering_enabled"] = True - snetd_configs["metering_end_point"] = "https://{}-marketplace.singularitynet.io".format(_network) + snetd_configs["metering_end_point"] = "https://marketplace-mt-v2.singularitynet.io" snetd_configs["pvt_key_for_metering"] = pk_metering with open(conf, "w") as f: json.dump(snetd_configs, f, sort_keys=True, indent=4) diff --git a/services/deoldify-colorizer/snetd_configs/snetd.mainnet.json b/services/deoldify-colorizer/snetd_configs/snetd.mainnet.json index 2f4b7830..7bd4a649 100644 --- a/services/deoldify-colorizer/snetd_configs/snetd.mainnet.json +++ b/services/deoldify-colorizer/snetd_configs/snetd.mainnet.json @@ -1,5 +1,5 @@ { - "daemon_end_point": "0.0.0.0:7084", + "daemon_end_point": "0.0.0.0:7037", "ipfs_end_point": "http://ipfs.singularitynet.io:80", "passthrough_endpoint": "http://localhost:7003", "blockchain_network_selected": "main", diff --git a/services/i3d-video-action-recognition/Dockerfile b/services/i3d-video-action-recognition/Dockerfile index 2a293cfe..7d53b7a8 100644 --- a/services/i3d-video-action-recognition/Dockerfile +++ b/services/i3d-video-action-recognition/Dockerfile @@ -25,7 +25,7 @@ RUN apt-get install -y libglib2.0-0 libsm6 libxext6 libxrender-dev RUN apt-get install -y python3 python3-pip # Installing SNET Daemon -RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v3.1.6"` && \ +RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v5.0.1"` && \ SNETD_VERSION=${snetd_version:-${SNETD_GIT_VERSION}} && \ cd /tmp && \ wget https://github.com/singnet/snet-daemon/releases/download/${SNETD_VERSION}/snet-daemon-${SNETD_VERSION}-linux-amd64.tar.gz && \ @@ -37,7 +37,7 @@ RUN cd ${SINGNET_REPOS} && \ git clone -b ${git_branch} https://github.com/${git_owner}/${DNN_REPO_NAME}.git RUN cd ${SERVICES_FOLDER}/${SERVICE_NAME} && \ - python3 -m pip install -U pip && \ + python3 -m pip install -U pip==20.2.4 && \ python3 -m pip install -r requirements.txt && \ sh buildproto.sh diff --git a/services/i3d-video-action-recognition/run_service.py b/services/i3d-video-action-recognition/run_service.py index b072b9f4..9da41c57 100644 --- a/services/i3d-video-action-recognition/run_service.py +++ b/services/i3d-video-action-recognition/run_service.py @@ -80,7 +80,7 @@ def add_extra_configs(conf): pk_metering = os.environ.get("PVT_KEY_FOR_METERING", "") if pk_metering: snetd_configs["metering_enabled"] = True - snetd_configs["metering_end_point"] = "https://{}-marketplace.singularitynet.io".format(_network) + snetd_configs["metering_end_point"] = "https://marketplace-mt-v2.singularitynet.io" snetd_configs["pvt_key_for_metering"] = pk_metering with open(conf, "w") as f: json.dump(snetd_configs, f, sort_keys=True, indent=4) diff --git a/services/i3d-video-action-recognition/snetd_configs/snetd.mainnet.json b/services/i3d-video-action-recognition/snetd_configs/snetd.mainnet.json index 7d408f70..a235492f 100644 --- a/services/i3d-video-action-recognition/snetd_configs/snetd.mainnet.json +++ b/services/i3d-video-action-recognition/snetd_configs/snetd.mainnet.json @@ -1,5 +1,5 @@ { - "daemon_end_point": "0.0.0.0:7005", + "daemon_end_point": "0.0.0.0:7023", "ipfs_end_point": "http://ipfs.singularitynet.io:80", "passthrough_endpoint": "http://localhost:7003", "blockchain_network_selected": "main", diff --git a/services/places365-scene-recognition/Dockerfile b/services/places365-scene-recognition/Dockerfile index 77826d47..56e06c11 100755 --- a/services/places365-scene-recognition/Dockerfile +++ b/services/places365-scene-recognition/Dockerfile @@ -26,7 +26,7 @@ RUN apt-get update && \ pip install --upgrade pip # Installing SNET Daemon -RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v3.1.6"` && \ +RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v5.0.1"` && \ SNETD_VERSION=${snetd_version:-${SNETD_GIT_VERSION}} && \ cd /tmp && \ wget https://github.com/singnet/snet-daemon/releases/download/${SNETD_VERSION}/snet-daemon-${SNETD_VERSION}-linux-amd64.tar.gz && \ @@ -42,7 +42,7 @@ RUN cd ${SINGNET_REPOS} && \ # Building protobuf messages RUN cd ${SERVICES_FOLDER}/${SERVICE_NAME} && \ - pip install -U pip && \ + pip install -U pip==20.2.4 && \ pip install -r requirements.txt && \ sh buildproto.sh diff --git a/services/places365-scene-recognition/run_service.py b/services/places365-scene-recognition/run_service.py index 6a751761..eafe0313 100644 --- a/services/places365-scene-recognition/run_service.py +++ b/services/places365-scene-recognition/run_service.py @@ -80,7 +80,7 @@ def add_extra_configs(conf): pk_metering = os.environ.get("PVT_KEY_FOR_METERING", "") if pk_metering: snetd_configs["metering_enabled"] = True - snetd_configs["metering_end_point"] = "https://{}-marketplace.singularitynet.io".format(_network) + snetd_configs["metering_end_point"] = "https://marketplace-mt-v2.singularitynet.io" snetd_configs["pvt_key_for_metering"] = pk_metering with open(conf, "w") as f: json.dump(snetd_configs, f, sort_keys=True, indent=4) diff --git a/services/places365-scene-recognition/snetd_configs/snetd.mainnet.json b/services/places365-scene-recognition/snetd_configs/snetd.mainnet.json index 4a987dfb..427726bd 100644 --- a/services/places365-scene-recognition/snetd_configs/snetd.mainnet.json +++ b/services/places365-scene-recognition/snetd_configs/snetd.mainnet.json @@ -1,5 +1,5 @@ { - "daemon_end_point": "0.0.0.0:7019", + "daemon_end_point": "0.0.0.0:7027", "ipfs_end_point": "http://ipfs.singularitynet.io:80", "passthrough_endpoint": "http://localhost:7003", "blockchain_network_selected": "main", diff --git a/services/pneumonia-diagnosis/Dockerfile b/services/pneumonia-diagnosis/Dockerfile index bf643ec1..bb6f8a18 100644 --- a/services/pneumonia-diagnosis/Dockerfile +++ b/services/pneumonia-diagnosis/Dockerfile @@ -25,7 +25,7 @@ RUN apt-get install -y libsm6 libxext6 libxrender-dev RUN apt-get install -y python3 python3-pip # Installing SNET Daemon -RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v3.1.6"` && \ +RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v5.0.1"` && \ SNETD_VERSION=${snetd_version:-${SNETD_GIT_VERSION}} && \ cd /tmp && \ wget https://github.com/singnet/snet-daemon/releases/download/${SNETD_VERSION}/snet-daemon-${SNETD_VERSION}-linux-amd64.tar.gz && \ @@ -39,7 +39,7 @@ RUN cd ${SINGNET_REPOS} && \ ./get_pneumonia_model.sh RUN cd ${SERVICES_FOLDER}/${SERVICE_NAME} && \ - python3 -m pip install -U pip && \ + python3 -m pip install -U pip==20.2.4 && \ python3 -m pip install -r requirements.txt && \ sh buildproto.sh diff --git a/services/pneumonia-diagnosis/run_service.py b/services/pneumonia-diagnosis/run_service.py index b91db7dd..e3aad394 100644 --- a/services/pneumonia-diagnosis/run_service.py +++ b/services/pneumonia-diagnosis/run_service.py @@ -91,7 +91,7 @@ def add_extra_configs(conf): pk_metering = os.environ.get("PVT_KEY_FOR_METERING", "") if pk_metering: snetd_configs["metering_enabled"] = True - snetd_configs["metering_end_point"] = "https://{}-marketplace.singularitynet.io".format(_network) + snetd_configs["metering_end_point"] = "https://marketplace-mt-v2.singularitynet.io" snetd_configs["pvt_key_for_metering"] = pk_metering with open(conf, "w") as f: json.dump(snetd_configs, f, sort_keys=True, indent=4) diff --git a/services/pneumonia-diagnosis/snetd_configs/snetd.mainnet.json b/services/pneumonia-diagnosis/snetd_configs/snetd.mainnet.json index 3292a8f4..ed3753fb 100644 --- a/services/pneumonia-diagnosis/snetd_configs/snetd.mainnet.json +++ b/services/pneumonia-diagnosis/snetd_configs/snetd.mainnet.json @@ -1,5 +1,5 @@ { - "daemon_end_point": "0.0.0.0:7072", + "daemon_end_point": "0.0.0.0:7028", "ipfs_end_point": "http://ipfs.singularitynet.io:80", "passthrough_endpoint": "http://localhost:7003", "blockchain_network_selected": "main", diff --git a/services/real-time-voice-cloning/Dockerfile b/services/real-time-voice-cloning/Dockerfile index dddef801..bc4238d7 100644 --- a/services/real-time-voice-cloning/Dockerfile +++ b/services/real-time-voice-cloning/Dockerfile @@ -26,7 +26,7 @@ RUN apt-get clean && \ apt-get -y autoremove # Installing SNET Daemon -RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v3.1.6"` && \ +RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v5.0.1"` && \ SNETD_VERSION=${snetd_version:-${SNETD_GIT_VERSION}} && \ cd /tmp && \ wget https://github.com/singnet/snet-daemon/releases/download/${SNETD_VERSION}/snet-daemon-${SNETD_VERSION}-linux-amd64.tar.gz && \ @@ -51,7 +51,7 @@ RUN cd ${SINGNET_REPOS}/${DNN_REPO_NAME} && \ # Installing all the dependencies of the service RUN cd ${SERVICES_FOLDER}/${SERVICE_NAME} && \ - pip install -U pip && \ + pip install -U pip==20.2.4 && \ pip install -r requirements.txt && \ sh buildproto.sh diff --git a/services/real-time-voice-cloning/run_service.py b/services/real-time-voice-cloning/run_service.py index 86644196..026efb73 100644 --- a/services/real-time-voice-cloning/run_service.py +++ b/services/real-time-voice-cloning/run_service.py @@ -80,7 +80,7 @@ def add_extra_configs(conf): pk_metering = os.environ.get("PVT_KEY_FOR_METERING", "") if pk_metering: snetd_configs["metering_enabled"] = True - snetd_configs["metering_end_point"] = "https://{}-marketplace.singularitynet.io".format(_network) + snetd_configs["metering_end_point"] = "https://marketplace-mt-v2.singularitynet.io" snetd_configs["pvt_key_for_metering"] = pk_metering snetd_configs["max_message_size_in_mb"] = os.environ.get("MAX_MESSAGE_SIZE", 10) with open(conf, "w") as f: diff --git a/services/real-time-voice-cloning/snetd_configs/snetd.mainnet.json b/services/real-time-voice-cloning/snetd_configs/snetd.mainnet.json index d5137e43..b7f2bebe 100644 --- a/services/real-time-voice-cloning/snetd_configs/snetd.mainnet.json +++ b/services/real-time-voice-cloning/snetd_configs/snetd.mainnet.json @@ -1,5 +1,5 @@ { - "daemon_end_point": "0.0.0.0:7064", + "daemon_end_point": "0.0.0.0:7036", "ipfs_end_point": "http://ipfs.singularitynet.io:80", "passthrough_endpoint": "http://localhost:7003", "blockchain_network_selected": "main", diff --git a/services/s2vt-video-captioning/Dockerfile b/services/s2vt-video-captioning/Dockerfile index 78c4ecca..7ba6f93c 100644 --- a/services/s2vt-video-captioning/Dockerfile +++ b/services/s2vt-video-captioning/Dockerfile @@ -24,7 +24,7 @@ RUN apt-get update && \ RUN apt-get install -y libsm6 libxext6 libxrender-dev # Installing SNET Daemon -RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v3.1.6"` && \ +RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v5.0.1"` && \ SNETD_VERSION=${snetd_version:-${SNETD_GIT_VERSION}} && \ cd /tmp && \ wget https://github.com/singnet/snet-daemon/releases/download/${SNETD_VERSION}/snet-daemon-${SNETD_VERSION}-linux-amd64.tar.gz && \ @@ -39,7 +39,7 @@ RUN cd ${SINGNET_REPOS} && \ ./get_s2vt.sh RUN cd ${SERVICES_FOLDER}/${SERVICE_NAME} && \ - pip install -U pip && \ + pip install -U pip==20.2.4 && \ pip install -r requirements.txt && \ sh buildproto.sh diff --git a/services/s2vt-video-captioning/run_service.py b/services/s2vt-video-captioning/run_service.py index d593e4e8..0506ff3b 100644 --- a/services/s2vt-video-captioning/run_service.py +++ b/services/s2vt-video-captioning/run_service.py @@ -80,7 +80,7 @@ def add_extra_configs(conf): pk_metering = os.environ.get("PVT_KEY_FOR_METERING", "") if pk_metering: snetd_configs["metering_enabled"] = True - snetd_configs["metering_end_point"] = "https://{}-marketplace.singularitynet.io".format(_network) + snetd_configs["metering_end_point"] = "https://marketplace-mt-v2.singularitynet.io" snetd_configs["pvt_key_for_metering"] = pk_metering with open(conf, "w") as f: json.dump(snetd_configs, f, sort_keys=True, indent=4) diff --git a/services/s2vt-video-captioning/snetd_configs/snetd.mainnet.json b/services/s2vt-video-captioning/snetd_configs/snetd.mainnet.json index d25f9869..3ece38bc 100644 --- a/services/s2vt-video-captioning/snetd_configs/snetd.mainnet.json +++ b/services/s2vt-video-captioning/snetd_configs/snetd.mainnet.json @@ -1,5 +1,5 @@ { - "daemon_end_point": "0.0.0.0:7006", + "daemon_end_point": "0.0.0.0:7029", "ipfs_end_point": "http://ipfs.singularitynet.io:80", "passthrough_endpoint": "http://localhost:7003", "blockchain_network_selected": "main", diff --git a/services/sound-spleeter/Dockerfile b/services/sound-spleeter/Dockerfile index 12e042ba..f2d84b30 100644 --- a/services/sound-spleeter/Dockerfile +++ b/services/sound-spleeter/Dockerfile @@ -25,7 +25,7 @@ RUN apt-get clean && \ apt-get -y autoremove # Installing SNET Daemon -RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v3.1.7"` && \ +RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v5.0.1"` && \ SNETD_VERSION=${snetd_version:-${SNETD_GIT_VERSION}} && \ cd /tmp && \ wget https://github.com/singnet/snet-daemon/releases/download/${SNETD_VERSION}/snet-daemon-${SNETD_VERSION}-linux-amd64.tar.gz && \ @@ -37,7 +37,7 @@ RUN cd ${SINGNET_REPOS} && \ git clone -b ${git_branch} https://github.com/${git_owner}/${DNN_REPO_NAME}.git RUN cd ${SERVICES_FOLDER}/${SERVICE_NAME} && \ - python3 -m pip install -U pip && \ + python3 -m pip install -U pip==20.2.4 && \ python3 -m pip install -r requirements.txt && \ sh buildproto.sh diff --git a/services/sound-spleeter/run_service.py b/services/sound-spleeter/run_service.py index 3f754d94..4b32774e 100644 --- a/services/sound-spleeter/run_service.py +++ b/services/sound-spleeter/run_service.py @@ -80,7 +80,7 @@ def add_extra_configs(conf): pk_metering = os.environ.get("PVT_KEY_FOR_METERING", "") if pk_metering: snetd_configs["metering_enabled"] = True - snetd_configs["metering_end_point"] = "https://{}-marketplace.singularitynet.io".format(_network) + snetd_configs["metering_end_point"] = "https://marketplace-mt-v2.singularitynet.io" snetd_configs["pvt_key_for_metering"] = pk_metering snetd_configs["max_message_size_in_mb"] = os.environ.get("MAX_MESSAGE_SIZE", 128) with open(conf, "w") as f: diff --git a/services/sound-spleeter/snetd_configs/snetd.mainnet.json b/services/sound-spleeter/snetd_configs/snetd.mainnet.json index 2067c5b0..9e88a656 100644 --- a/services/sound-spleeter/snetd_configs/snetd.mainnet.json +++ b/services/sound-spleeter/snetd_configs/snetd.mainnet.json @@ -1,5 +1,5 @@ { - "daemon_end_point": "0.0.0.0:7066", + "daemon_end_point": "0.0.0.0:7068", "ipfs_end_point": "http://ipfs.singularitynet.io:80", "passthrough_endpoint": "http://localhost:7003", "blockchain_network_selected": "main", diff --git a/services/yolov3-object-detection/Dockerfile b/services/yolov3-object-detection/Dockerfile index 3ba70f68..7add388f 100644 --- a/services/yolov3-object-detection/Dockerfile +++ b/services/yolov3-object-detection/Dockerfile @@ -25,7 +25,7 @@ RUN apt-get install -y libsm6 libxext6 libxrender-dev RUN apt-get install -y python3 python3-pip # Installing SNET Daemon -RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v3.1.6"` && \ +RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v5.0.1"` && \ SNETD_VERSION=${snetd_version:-${SNETD_GIT_VERSION}} && \ cd /tmp && \ wget https://github.com/singnet/snet-daemon/releases/download/${SNETD_VERSION}/snet-daemon-${SNETD_VERSION}-linux-amd64.tar.gz && \ @@ -39,7 +39,7 @@ RUN cd ${SINGNET_REPOS} && \ ./get_yolov3.sh RUN cd ${SERVICES_FOLDER}/${SERVICE_NAME} && \ - python3 -m pip install -U pip && \ + python3 -m pip install -U pip==20.2.4 && \ python3 -m pip install -r requirements.txt && \ sh buildproto.sh diff --git a/services/yolov3-object-detection/run_service.py b/services/yolov3-object-detection/run_service.py index 9287b88b..46cedacf 100644 --- a/services/yolov3-object-detection/run_service.py +++ b/services/yolov3-object-detection/run_service.py @@ -80,7 +80,7 @@ def add_extra_configs(conf): pk_metering = os.environ.get("PVT_KEY_FOR_METERING", "") if pk_metering: snetd_configs["metering_enabled"] = True - snetd_configs["metering_end_point"] = "https://{}-marketplace.singularitynet.io".format(_network) + snetd_configs["metering_end_point"] = "https://marketplace-mt-v2.singularitynet.io" snetd_configs["pvt_key_for_metering"] = pk_metering with open(conf, "w") as f: json.dump(snetd_configs, f, sort_keys=True, indent=4) diff --git a/services/yolov3-object-detection/snetd_configs/snetd.mainnet.json b/services/yolov3-object-detection/snetd_configs/snetd.mainnet.json index 79f5a20f..5b777aa7 100644 --- a/services/yolov3-object-detection/snetd_configs/snetd.mainnet.json +++ b/services/yolov3-object-detection/snetd_configs/snetd.mainnet.json @@ -1,5 +1,5 @@ { - "daemon_end_point": "0.0.0.0:7007", + "daemon_end_point": "0.0.0.0:7034", "ipfs_end_point": "http://ipfs.singularitynet.io:80", "passthrough_endpoint": "http://localhost:7003", "blockchain_network_selected": "main", diff --git a/services/zeta36-chess-alpha-zero/Dockerfile b/services/zeta36-chess-alpha-zero/Dockerfile index fdd088a9..6145acdc 100644 --- a/services/zeta36-chess-alpha-zero/Dockerfile +++ b/services/zeta36-chess-alpha-zero/Dockerfile @@ -31,7 +31,7 @@ RUN cd ${SINGNET_REPOS} && \ rm -f get-pip.py # Installing SNET Daemon -RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v3.1.6"` && \ +RUN SNETD_GIT_VERSION=`curl -s https://api.github.com/repos/singnet/snet-daemon/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' || echo "v5.0.1"` && \ SNETD_VERSION=${snetd_version:-${SNETD_GIT_VERSION}} && \ cd /tmp && \ wget https://github.com/singnet/snet-daemon/releases/download/${SNETD_VERSION}/snet-daemon-${SNETD_VERSION}-linux-amd64.tar.gz && \ @@ -43,7 +43,7 @@ RUN cd ${SINGNET_REPOS} && \ git clone -b ${git_branch} https://github.com/${git_owner}/${DNN_REPO_NAME}.git RUN cd ${SERVICES_FOLDER}/${SERVICE_NAME} && \ - python3.6 -m pip install -U pip && \ + python3.6 -m pip install -U pip==20.2.4 && \ python3.6 -m pip install -r requirements.txt && \ sh buildproto.sh diff --git a/services/zeta36-chess-alpha-zero/run_service.py b/services/zeta36-chess-alpha-zero/run_service.py index 5f10d448..708841a0 100644 --- a/services/zeta36-chess-alpha-zero/run_service.py +++ b/services/zeta36-chess-alpha-zero/run_service.py @@ -80,7 +80,7 @@ def add_extra_configs(conf): pk_metering = os.environ.get("PVT_KEY_FOR_METERING", "") if pk_metering: snetd_configs["metering_enabled"] = True - snetd_configs["metering_end_point"] = "https://{}-marketplace.singularitynet.io".format(_network) + snetd_configs["metering_end_point"] = "https://marketplace-mt-v2.singularitynet.io" snetd_configs["pvt_key_for_metering"] = pk_metering with open(conf, "w") as f: json.dump(snetd_configs, f, sort_keys=True, indent=4) diff --git a/services/zeta36-chess-alpha-zero/snetd_configs/snetd.mainnet.json b/services/zeta36-chess-alpha-zero/snetd_configs/snetd.mainnet.json index ab22c70f..5ea92d3e 100644 --- a/services/zeta36-chess-alpha-zero/snetd_configs/snetd.mainnet.json +++ b/services/zeta36-chess-alpha-zero/snetd_configs/snetd.mainnet.json @@ -1,5 +1,5 @@ { - "daemon_end_point": "0.0.0.0:7008", + "daemon_end_point": "0.0.0.0:7035", "ipfs_end_point": "http://ipfs.singularitynet.io:80", "passthrough_endpoint": "http://localhost:7003", "blockchain_network_selected": "main",