Skip to content

Commit

Permalink
remove new.json
Browse files Browse the repository at this point in the history
  • Loading branch information
StrangerZhang committed Jun 13, 2019
1 parent 99970c6 commit b1cd90c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions toolkit/datasets/got10k.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@

import json
import os
import numpy as np

from tqdm import tqdm
from glob import glob

from .dataset import Dataset
from .video import Video
Expand Down Expand Up @@ -57,7 +55,7 @@ class GOT10kDataset(Dataset):
"""
def __init__(self, name, dataset_root, load_img=False):
super(GOT10kDataset, self).__init__(name, dataset_root)
with open(os.path.join(dataset_root, name+'_new.json'), 'r') as f:
with open(os.path.join(dataset_root, name+'.json'), 'r') as f:
meta_data = json.load(f)

# load videos
Expand Down
2 changes: 1 addition & 1 deletion toolkit/datasets/lasot.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class LaSOTDataset(Dataset):
"""
def __init__(self, name, dataset_root, load_img=False):
super(LaSOTDataset, self).__init__(name, dataset_root)
with open(os.path.join(dataset_root, name+'_new.json'), 'r') as f:
with open(os.path.join(dataset_root, name+'.json'), 'r') as f:
meta_data = json.load(f)

# load videos
Expand Down
2 changes: 1 addition & 1 deletion toolkit/datasets/otb.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class OTBDataset(Dataset):
"""
def __init__(self, name, dataset_root, load_img=False):
super(OTBDataset, self).__init__(name, dataset_root)
with open(os.path.join(dataset_root, name+'_new.json'), 'r') as f:
with open(os.path.join(dataset_root, name+'.json'), 'r') as f:
meta_data = json.load(f)

# load videos
Expand Down

0 comments on commit b1cd90c

Please sign in to comment.