This commit is contained in:
wataru 2022-11-12 11:23:01 +09:00
parent e6cd237f56
commit 88c7768ddb
5 changed files with 12 additions and 7 deletions

View File

@ -429,8 +429,8 @@ if __name__ == '__main__':
if os.getenv("EX_TB_PORT"): if os.getenv("EX_TB_PORT"):
EX_TB_PORT = os.environ["EX_TB_PORT"] EX_TB_PORT = os.environ["EX_TB_PORT"]
exApplitionInfo = int(EX_TB_PORT) exApplitionInfo.external_tensorboard_port = int(EX_TB_PORT)
printMessage(f"External_TeonsorBord_Port:{EX_PORT}", level=1) printMessage(f"External_TeonsorBord_Port:{EX_TB_PORT}", level=1)
if os.getenv("EX_IP"): if os.getenv("EX_IP"):
EX_IP = os.environ["EX_IP"] EX_IP = os.environ["EX_IP"]

View File

@ -39,8 +39,8 @@ python3 MMVCServerSIO.py "$@"
### ###
# 起動パラメータ # 起動パラメータ
# (1) トレーニングの場合 # (1) トレーニングの場合
# python3 MMVCServerSIO.py <type> # python3 MMVCServerSIO.py -t <type> [--https on|off, --httpsKey <key>, --httpsCert <key>, --httpsSelfSigned on|off]
# 環境変数: # 環境変数: EX_PORT, EX_TB_PORT, EX_IP (EX_IPはEX_IP="`hostname -I`"で自動取得)
# ※ Colabの場合python3 MMVCServerSIO.py -t Train -p {PORT} --colab True # ※ Colabの場合python3 MMVCServerSIO.py -t Train -p {PORT} --colab True
# (2) VCの場合 # (2) VCの場合

View File

@ -13,7 +13,12 @@ def get_file_list(top_dir):
def get_dir_list(top_dir): def get_dir_list(top_dir):
return os.listdir(top_dir) dirlist = []
files = os.listdir(top_dir)
for filename in files:
if os.path.isdir(os.path.join(top_dir, filename)):
dirlist.append(filename)
return dirlist
def get_file_list(top_dir): def get_file_list(top_dir):
return glob.glob(top_dir) return glob.glob(top_dir)

View File

@ -1,4 +1,4 @@
FROM dannadori/voice-changer-internal:20221112_105408 as front FROM dannadori/voice-changer-internal:20221112_111947 as front
FROM debian:bullseye-slim as base FROM debian:bullseye-slim as base
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -eu set -eu
DOCKER_IMAGE=dannadori/voice-changer:20221112_105616 DOCKER_IMAGE=dannadori/voice-changer:20221112_112216
# DOCKER_IMAGE=voice-changer # DOCKER_IMAGE=voice-changer
if [ $# = 0 ]; then if [ $# = 0 ]; then