-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DAVIS2018 does not exist #5
Comments
Hi, there, I've written a short python file to process the youtube-vos folders into zips. You may refer to this for processing the Davis dataset. import os
import zipfile
def zipDir(dirpath, outFullName):
zipname = zipfile.ZipFile(outFullName, 'w', zipfile.ZIP_DEFLATED)
for path, dirnames, filenames in os.walk(dirpath):
fpath= path.replace(dirpath, '')
for filename in filenames:
zipname.write(os.path.join(path, filename), os.path.join(fpath, filename))
zipname.close()
if __name__=="__main__":
g=os.walk('/home/yz/Downloads/STTN/datasets/youtube-vos/train_all_frames/JPEGImages')
for path, dir_list, file_list in g:
for dir_name in dir_list:
input_path = os.path.join(path,dir_name)
output_path = '/home/yz/Downloads/STTN/datasets/youtube-vos/JPEGImages/'+dir_name+'.zip'
print(input_path, '\n', output_path)
zipDir(input_path, output_path) |
I think your srcipt need to improve , some image in the youtube-vos don't seem to be start from 1. So when use the dataset.py in STTN. It may be wrong. |
Your are right. Thanks for pointing this out. : ) |
Hello, do you know how to get the DAVIS2018 dataset? |
Hello,
I am looking for the Davis-2018 from your link but all the datasets there do not have zip files. Currently, you code does not work for the Davis datasets.
Is it because they remove the Davis-2018 dataset, or is it because the link was incorrect? Either way, can you please check it.
Thanks,
Anh
The text was updated successfully, but these errors were encountered: