From fae1e6257dc6e9095102c8cfc3a75332cbb52e4b Mon Sep 17 00:00:00 2001 From: Meatfucker <74834323+Meatfucker@users.noreply.github.com> Date: Fri, 27 Jan 2023 18:13:10 -0500 Subject: [PATCH 1/4] Update train_video.py --- train_video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train_video.py b/train_video.py index e51f7e86..896ecf31 100644 --- a/train_video.py +++ b/train_video.py @@ -19,7 +19,7 @@ def train_model(config): # set seed seed = config["seed"] if seed == -1: - seed = np.random.randint(2 ** 32) + seed = np.random.randint(2 ** 32, dtype=np.int64) random.seed(seed) np.random.seed(seed) torch.manual_seed(seed) From a21196d981c1824d9f6f5dfdfcb7df0a84a7430f Mon Sep 17 00:00:00 2001 From: Meatfucker <74834323+Meatfucker@users.noreply.github.com> Date: Fri, 27 Jan 2023 18:13:33 -0500 Subject: [PATCH 2/4] Update train_image.py --- train_image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/train_image.py b/train_image.py index aaf570e1..db05bf4f 100644 --- a/train_image.py +++ b/train_image.py @@ -21,7 +21,7 @@ def train_model(config): # set seed seed = config["seed"] if seed == -1: - seed = np.random.randint(2 ** 32) + seed = np.random.randint(2 ** 32, dtype=np.int64) random.seed(seed) np.random.seed(seed) torch.manual_seed(seed) @@ -128,4 +128,4 @@ def save_locally(results_folder, log_data): train_model(config) if config["use_wandb"]: - wandb.finish() \ No newline at end of file + wandb.finish() From 893edc2cb4534f7e890cfe33fc52ae31a2719921 Mon Sep 17 00:00:00 2001 From: Meatfucker <74834323+Meatfucker@users.noreply.github.com> Date: Fri, 27 Jan 2023 18:14:24 -0500 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 67d60d6f..e1ca243a 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ ``` git clone https://github.com/omerbt/Text2LIVE.git -conda create --name text2live python=3.9 +conda create --name text2live python=3.9 pytorch==1.10.0 torchvision==0.11.0 torchaudio==0.10.0 cudatoolkit=11.3 -c pytorch -c conda-forge conda activate text2live pip install -r requirements.txt ``` From 69e84e5e1e402692f6359c8ef0cee10a64f4df16 Mon Sep 17 00:00:00 2001 From: Meatfucker <74834323+Meatfucker@users.noreply.github.com> Date: Fri, 27 Jan 2023 18:14:52 -0500 Subject: [PATCH 4/4] Update requirements.txt --- requirements.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 1d7003c1..52103ebd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,4 @@ pillow -torch~=1.10.0 -torchvision~=0.11.2 tqdm numpy ftfy