From 89348973586585ea5a29fdc4b1e97f8e076515ea Mon Sep 17 00:00:00 2001 From: Masahiro Ogawa Date: Thu, 23 Mar 2023 08:31:33 +0900 Subject: [PATCH 1/3] fix README for quick testing. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c4ab210..6fd3fd0 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ Visit the [project webpage](http://rpg.ifi.uzh.ch/unsupervised_detection.html) f conda case; ```bash conda env create -f environment.yml +conda activate contextual-information-separation bash ./scripts/test_DAVIS2016_raw.sh ``` you can even run inference for no annotated video. From b247197a6eec98dcb08a5ce213ce61ccbf2224bd Mon Sep 17 00:00:00 2001 From: Masahiro Ogawa Date: Wed, 26 Apr 2023 08:55:24 +0900 Subject: [PATCH 2/3] debug comput_IOU() for almost 0 mask case. --- test_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_generator.py b/test_generator.py index c518bc3..626ddde 100644 --- a/test_generator.py +++ b/test_generator.py @@ -29,7 +29,7 @@ def compute_IoU(gt_mask, pred_mask_f, threshold=0.1): annotation = pred_mask_compl if np.isclose(np.sum(annotation),0) and np.isclose(np.sum(gt_mask),0): - return 1 + return 1, annotation else: return np.sum((annotation & gt_mask)) / \ np.sum((annotation | gt_mask),dtype=np.float32), annotation From 0821e1fbcd3deb7c9b6bb3864d172b9f372481a6 Mon Sep 17 00:00:00 2001 From: Masahiro Ogawa Date: Sat, 3 Feb 2024 12:28:36 +0900 Subject: [PATCH 3/3] debug test_video.sh error by updating gdown. --- environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index dddba66..1a5a1c7 100644 --- a/environment.yml +++ b/environment.yml @@ -8,5 +8,5 @@ dependencies: - cudatoolkit=10.1 - python-gflags - keras=2.2.4 - - gdown + - gdown=5.0.1 # 4.6.4 has a bug. - pillow \ No newline at end of file