Skip to content

Commit c17b589

Browse files
committed
tless models symlink
1 parent c1fad3b commit c17b589

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cosypose/scripts/download.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import argparse
2+
import os
23
import zipfile
34
import wget
45
import logging
@@ -85,6 +86,7 @@ def main():
8586
if args.bop_extra_files == 'tless':
8687
# https://github.com/kirumang/Pix2Pose#download-pre-trained-weights
8788
gdrive_download(f'bop_datasets/tless/all_target_tless.json', BOP_DS_DIR / 'tless')
89+
os.symlink(BOP_DS_DIR / 'tless/models_eval', BOP_DS_DIR / 'tless/models')
8890
elif args.bop_extra_files == 'ycbv':
8991
# Friendly names used with YCB-Video
9092
gdrive_download(f'bop_datasets/ycbv/ycbv_friendly_names.txt', BOP_DS_DIR / 'ycbv')

0 commit comments

Comments
 (0)