-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ini
29 lines (24 loc) · 1.52 KB
/
config.ini
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
29
; --- fast image downloader config file ---
; inputs
UrlListFile = "ImageListTest.tsv"
; outputs
ImageDir = "ReferedImages\"
; parameters
ImageRecordRange = all ; "all" or "30000-100000" for example; to indicate the end, use a big number
ConcurrentThreads = 50 ; try 50 for quality, but feel free to try any
ThreadSurvivingTime = 12000 ; time out threshold (ms) for each thread
ImagesInOneFolder = 10000 ; !!! make sure it *conforms* to the previous download
IsForceNewDownload = false ; force start a new download and suppress warnings
; !!! will override files, be aware of the risk
IsUseImageIDInUrlList = true ; read ImageID from UrlListFile, rather than start from 0
; !!! each ImageID should be unique
IsTryFailedDownload = false ; try previously failed downloads again
IsFastValidation = false ; will not validate corrupted image files
IsValidationOnly = false ; validate existing downloads only; will not download new files
; optional parameters
ValidationThreads = 20 ; control disk IO load
; ---------------------------------------------------------------------------
; Note that to validate the integrity of each downloaded image is rather
; time-consuming with single-core CPU. You may need to set IsFastValidation
; = true to skip integrity validation.
; ---------------------------------------------------------------------------