ivan-wald commited on
Commit
04866f3
1 Parent(s): ef48a0d

Update cord-layoutlmv3.py

Browse files
Files changed (1) hide show
  1. cord-layoutlmv3.py +11 -7
cord-layoutlmv3.py CHANGED
@@ -64,14 +64,18 @@ def _get_drive_url(url):
64
  split_url = url.split('/')
65
  return base_url + split_url[5]
66
 
 
 
 
 
 
 
 
 
 
67
  _URLS = [
68
- _get_drive_url("https://drive.google.com/file/d/1MqhTbcj-AHXOqYoeoh12aRUwIprzTJYI/"),
69
- _get_drive_url("https://drive.google.com/file/d/1wYdp5nC9LnHQZ2FcmOoC0eClyWvcuARU/")
70
- # If you failed to download the dataset through the automatic downloader,
71
- # you can download it manually and modify the code to get the local dataset.
72
- # Or you can use the following links. Please follow the original LICENSE of CORD for usage.
73
- # "https://layoutlm.blob.core.windows.net/cord/CORD-1k-001.zip",
74
- # "https://layoutlm.blob.core.windows.net/cord/CORD-1k-002.zip"
75
  ]
76
 
77
  class CordConfig(datasets.BuilderConfig):
 
64
  split_url = url.split('/')
65
  return base_url + split_url[5]
66
 
67
+ # _URLS = [
68
+ # _get_drive_url("https://drive.google.com/file/d/1MqhTbcj-AHXOqYoeoh12aRUwIprzTJYI/"),
69
+ # _get_drive_url("https://drive.google.com/file/d/1wYdp5nC9LnHQZ2FcmOoC0eClyWvcuARU/")
70
+ # # If you failed to download the dataset through the automatic downloader,
71
+ # # you can download it manually and modify the code to get the local dataset.
72
+ # # Or you can use the following links. Please follow the original LICENSE of CORD for usage.
73
+ # # "https://layoutlm.blob.core.windows.net/cord/CORD-1k-001.zip",
74
+ # # "https://layoutlm.blob.core.windows.net/cord/CORD-1k-002.zip"
75
+ # ]
76
  _URLS = [
77
+ "https://drive.usercontent.google.com/download?id=1MqhTbcj-AHXOqYoeoh12aRUwIprzTJYI&confirm=t",
78
+ "https://drive.usercontent.google.com/download?id=1wYdp5nC9LnHQZ2FcmOoC0eClyWvcuARU&confirm=t"
 
 
 
 
 
79
  ]
80
 
81
  class CordConfig(datasets.BuilderConfig):