-
Notifications
You must be signed in to change notification settings - Fork 1
/
get_test_data_v2.py
30 lines (27 loc) · 1.23 KB
/
get_test_data_v2.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
27
28
"""
=========================================================
Title: ImageArg Shared Task Code - Dataset Downloader
---------------------------------------------------------
Warning: The downloaded dataset should only be used for
participating in ImageArg Shared Task. Any other use is
explicitly prohibited. Any participants are not allowed
to redistribute the dataset per Twitter Developer Policy:
https://developer.twitter.com/en/developer-terms/policy.
---------------------------------------------------------
Notice: This code is managed by ImageArg Shared Task
(https://imagearg.github.io/).
---------------------------------------------------------
Data: 2023-07-08
=========================================================
"""
import platform
if __name__ == '__main__':
if platform.processor() == "arm":
from plugins.macos_silicon import get_test_data_without_labels
elif platform.system() == "Darwin" and platform.machine() == "x86_64":
from plugins.macos_intel import get_test_data_without_labels
elif platform.system() == "Linux" and platform.machine() == "x86_64":
from plugins.ubuntu import get_test_data_without_labels
else:
raise "not supported system!"
get_test_data_without_labels()