From 2ea4cffdb632ddd2675d4900aa36913d8c397695 Mon Sep 17 00:00:00 2001 From: David Marx Date: Sun, 30 Jan 2022 17:20:15 -0800 Subject: [PATCH] updated setup for GMA imports w/o chdir --- pytti_5_beta.ipynb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pytti_5_beta.ipynb b/pytti_5_beta.ipynb index e6a4da2..b2dd270 100644 --- a/pytti_5_beta.ipynb +++ b/pytti_5_beta.ipynb @@ -344,6 +344,8 @@ " !git clone https://github.com/shariqfarooq123/AdaBins.git &> /dev/null\n", " !git clone https://github.com/zacjiang/GMA.git &> /dev/null\n", " !touch AdaBins/__init__.py\n", + " !touch GMA/__init__.py\n", + " !touch GMA/core/__init__.py\n", " !mkdir -p ./pretrained\n", " if not path_exists('./pretrained/AdaBins_nyu.pt'):\n", " !gdown https://drive.google.com/uc?id=1lvyZZbC9NLcS8a__YPcUP7rDiIpbRpoF\n",