From 5d77c1da4ea1e6addc8a28cb5ae7a772865c7135 Mon Sep 17 00:00:00 2001 From: rubberhead Date: Sat, 2 Mar 2024 23:40:18 +0000 Subject: [PATCH] Added comment --- make_dataset.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/make_dataset.py b/make_dataset.py index ac9ee40..5e3380c 100644 --- a/make_dataset.py +++ b/make_dataset.py @@ -1,3 +1,19 @@ +""" +The TransCrowd paper lists ShanghaiTech dataset as from here: + + https://drive.google.com/file/d/1CkYppr_IqR1s6wi53l2gKoGqm7LkJ-Lc/view + +Alternatively, you could prob. download from here: + + https://www.kaggle.com/datasets/tthien/shanghaitech?resource=download + +After downloading, execute: + + $ unzip -d /synchronous/dataset/ + +To unzip the dataset correctly prior to running this script. +""" + import os import glob import random @@ -130,4 +146,4 @@ def make_npydata(): if __name__ == "__main__": # Download manually... pre_dataset_sh() # XXX: preliminary - make_npydata() \ No newline at end of file + make_npydata()