forked from kaulquappe23/all-keypoints-jump-broadcast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpaths.py
26 lines (20 loc) · 1000 Bytes
/
paths.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# -*- coding: utf-8 -*-
"""
Created on 13.01.20
"""
import os
class GeneralLoc:
log_path = "/data/ssd4/ludwikat/logs"
class YTJumpLoc:
base_path = '/data/ssd4/ludwikat/datasets/jump-broadcast' # '<path_to_download_of>/jump-broadcast'
pretrained_model = "pretrained_weights/coco_arbitrary_limbs.pth.tar"
frames_path = "/data/ssd4/ludwikat/datasets/jump/youtube_dataset/annotated_frames" # os.path.join(base_path,
# 'annotated_frames')
annotation_dir = 'keypoints'
annotation_path = os.path.join(base_path, annotation_dir)
segmentation_path = os.path.join(base_path, 'segmentations')
segmentation_images = segmentation_path
segmentation_bbox_path = os.path.join(base_path, 'bboxes_segmentations.csv')
segmentation_endpoint_path = os.path.join(segmentation_path, 'endpoints_segmentations_{}{}.pkl')
segmentation_anchor_path = os.path.join(segmentation_path, 'anchors_segmentations_{}.pkl')
test_points = os.path.join(base_path, "test_points")