List of commits:
Subject Hash Author Date (UTC)
evaluation_shb_CompactCNNV7i_t1 28cf202a306b775967c6e466120b019ae1eb6a4d Thai Thien 2020-08-23 07:49:51
evaluation shb 44f3dfdc9e3ad2787cc5286a64f1b28363796b19 Thai Thien 2020-08-23 07:32:50
performance_shb_CompactCNNV7i_t1 2698927959f377bb8308e54aebf029d8a18abf39 Thai Thien 2020-08-14 16:47:58
t7 test size 1 again 06fd0b91bf3c4c7d7713972f91c75ad33e0f25e7 Thai Thien 2020-08-14 16:38:33
t6 pin mem c573feae8f739502b53497c3482dae7a5c55aff7 Thai Thien 2020-08-14 16:35:19
testsize 20 77b4d29cbc8305943c2ec025d60b3937e1686d33 Thai Thien 2020-08-14 16:31:53
t4 increase core 80bcac87ccb6b10ce6e438fcce2f52e52fe1600a Thai Thien 2020-08-14 16:30:02
t3 eb03a48f24f38a078e8a77ba7a25fc647ecb642d Thai Thien 2020-08-14 16:27:21
eval and no grad c6d1e1fdeb6c7ebcc5318139ef22abb53b14e34e Thai Thien 2020-08-14 16:25:11
add .eval 39eb204dad16326327bca58f30c53097166a26b4 Thai Thien 2020-08-14 16:22:20
performance_shb_BigTail13i_t1 d2722882bde6cb81dfd4d2b00731a7f5caab4355 Thai Thien 2020-08-14 16:15:48
perfomance_test_on_shb cb1dcb51045d508f7c473b7b8435bb4f37243807 Thai Thien 2020-08-14 16:11:05
a 795e477efa0aad9119cb7a4651847f470229b902 Thai Thien 2020-08-14 16:07:10
model path f5446c7af5c8e6836bc562c17c3e02d04ff80804 Thai Thien 2020-08-14 16:05:55
per 07b1f5784cb8aeb98bb1192bb73b5247b549b9d1 Thai Thien 2020-08-14 16:04:59
perfomance test 50d9652b43d660d108d697ad730e547aabf32e46 Thai Thien 2020-08-14 15:46:25
change name dd91bf5002f1505d1dd214c13ea416dbb610e2e3 Thai Thien 2020-08-09 14:20:40
msemean ede02b8197895eb82e24388a9bf59721736356a3 Thai Thien 2020-08-09 14:18:34
l2_adamw2_bigtail11i_t2_c3_sha.sh ca44a2ea3f6cabb49738144fc3a918d3891280dc Thai Thien 2020-08-09 14:09:38
l2_adamw2_bigtail11i_t2_c3_sha 3d69914ecd40cd8a9a4f9863fcaf0ed20fb293b9 Thai Thien 2020-08-09 14:03:56
Commit 28cf202a306b775967c6e466120b019ae1eb6a4d - evaluation_shb_CompactCNNV7i_t1
Author: Thai Thien
Author date (UTC): 2020-08-23 07:49
Committer name: Thai Thien
Committer date (UTC): 2020-08-23 07:49
Parent(s): 44f3dfdc9e3ad2787cc5286a64f1b28363796b19
Signer:
Signing key:
Signing status: N
Tree: 8893f07b260fc4c4c67a06fd2ca82742f53e46d7
File Lines added Lines deleted
data_flow.py 5 1
train_script/debug/evaluation_shb_CompactCNNV7i_t1.sh 22 0
File data_flow.py changed (mode: 100644) (index cf2e269..73bc488)
... ... def load_data_shanghaitech_flip_only(img_path, train=True):
477 477 gt_count = count_gt_annotation_sha(mat_path) gt_count = count_gt_annotation_sha(mat_path)
478 478 return img_origin, gt_count return img_origin, gt_count
479 479
480 def load_data_shanghaitech_non_overlap(img_path, train=True):
480 def load_data_shanghaitech_non_overlap(img_path, train=True, debug=False):
481 481 """ """
482 482 per sample, crop 4, non-overlap per sample, crop 4, non-overlap
483 483 :param img_path: :param img_path:
 
... ... def load_data_shanghaitech_non_overlap(img_path, train=True):
525 525 # get correct people head count from head annotation # get correct people head count from head annotation
526 526 mat_path = img_path.replace('.jpg', '.mat').replace('images', 'ground-truth').replace('IMG', 'GT_IMG') mat_path = img_path.replace('.jpg', '.mat').replace('images', 'ground-truth').replace('IMG', 'GT_IMG')
527 527 gt_count = count_gt_annotation_sha(mat_path) gt_count = count_gt_annotation_sha(mat_path)
528 if debug:
529 gt_file = h5py.File(gt_path, 'r')
530 target = np.asarray(gt_file['density'])
531 return img_origin, gt_count, target
528 532 return img_origin, gt_count return img_origin, gt_count
529 533
530 534 def load_data_shanghaitech_non_overlap_downsample(img_path, train=True): def load_data_shanghaitech_non_overlap_downsample(img_path, train=True):
File train_script/debug/evaluation_shb_CompactCNNV7i_t1.sh added (mode: 100644) (index 0000000..fc800cd)
1 task="evaluation_shb_CompactCNNV7i_t1"
2 CUDA_VISIBLE_DEVICES=2 OMP_NUM_THREADS=4 PYTHONWARNINGS="ignore" HTTPS_PROXY="http://10.60.28.99:86" nohup python debug/evaluate_shb.py \
3 --model "CompactCNNV7i" \
4 --input /data/rnd/thient/thient_data/shanghaitech_with_people_density_map/ShanghaiTech_3/part_B \
5 --load_model saved_model_best/g1_ccnn_v7_t3_shb/g1_ccnn_v7_t3_shb_checkpoint_valid_mae=-8.881268501281738.pth \
6 --meta_data logs/$task.txt \
7 --datasetname shanghaitech_non_overlap \
8 --epochs 1201 > logs/$task.log &
9
10 ##
11 #def _parse():
12 # parser = argparse.ArgumentParser(description='evaluatiuon SHB')
13 # parser.add_argument('--input', action="store", type=str, default=HardCodeVariable().SHANGHAITECH_PATH_PART_A)
14 # parser.add_argument('--output', action="store", type=str, default="visualize/verify_dataloader_shanghaitech")
15 # parser.add_argument('--load_model', action="store", type=str, default="visualize/verify_dataloader_shanghaitech")
16 # parser.add_argument('--model', action="store", type=str, default="visualize/verify_dataloader_shanghaitech")
17 # parser.add_argument('--meta_data', action="store", type=str, default="data_info.txt")
18 # parser.add_argument('--datasetname', action="store", default="shanghaitech_keepfull_r50")
19 # arg = parser.parse_args()
20 # return arg
21 ##
22 ##
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/hahattpro/crowd_counting_framework

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/hahattpro/crowd_counting_framework

Clone this repository using git:
git clone git://git.rocketgit.com/user/hahattpro/crowd_counting_framework

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main