File tree 5 files changed +11
-11
lines changed
5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ jobs:
370
370
- run :
371
371
name : Exit if cache exists
372
372
command : |
373
- FILE=.data/cache_status_file.json
373
+ FILE=.data/cache_status_file.txt
374
374
if test -f "$FILE"; then
375
375
cat $FILE
376
376
circleci step halt
@@ -400,7 +400,7 @@ jobs:
400
400
no_output_timeout : 30m
401
401
command : |
402
402
.circleci/unittest/linux/scripts/generate_cache.sh
403
- cat .data/cache_status_file.json
403
+ cat .data/cache_status_file.txt
404
404
- save_cache :
405
405
406
406
key : data-linux-v1-{{ checksum ".circleci-daily" }}
@@ -495,7 +495,7 @@ jobs:
495
495
- run :
496
496
name : Exit if cache exists
497
497
command : |
498
- FILE=.data/cache_status_file.json
498
+ FILE=.data/cache_status_file.txt
499
499
if test -f "$FILE"; then
500
500
cat $FILE
501
501
circleci step halt
@@ -525,7 +525,7 @@ jobs:
525
525
no_output_timeout : 30m
526
526
command : |
527
527
.circleci/unittest/windows/scripts/generate_cache.sh
528
- cat .data/cache_status_file.json
528
+ cat .data/cache_status_file.txt
529
529
- save_cache :
530
530
531
531
key : data-windows-v1-{{ checksum ".circleci-daily" }}
Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ jobs:
370
370
- run:
371
371
name: Exit if cache exists
372
372
command: |
373
- FILE=.data/cache_status_file.json
373
+ FILE=.data/cache_status_file.txt
374
374
if test -f "$FILE"; then
375
375
cat $FILE
376
376
circleci step halt
@@ -400,7 +400,7 @@ jobs:
400
400
no_output_timeout: 30m
401
401
command: |
402
402
.circleci/unittest/linux/scripts/generate_cache.sh
403
- cat .data/cache_status_file.json
403
+ cat .data/cache_status_file.txt
404
404
- save_cache:
405
405
{% raw %}
406
406
key: data-linux-v1-{{ checksum ".circleci-daily" }}
@@ -495,7 +495,7 @@ jobs:
495
495
- run:
496
496
name: Exit if cache exists
497
497
command: |
498
- FILE=.data/cache_status_file.json
498
+ FILE=.data/cache_status_file.txt
499
499
if test -f "$FILE"; then
500
500
cat $FILE
501
501
circleci step halt
@@ -525,7 +525,7 @@ jobs:
525
525
no_output_timeout: 30m
526
526
command: |
527
527
.circleci/unittest/windows/scripts/generate_cache.sh
528
- cat .data/cache_status_file.json
528
+ cat .data/cache_status_file.txt
529
529
- save_cache:
530
530
{% raw %}
531
531
key: data-windows-v1-{{ checksum ".circleci-daily" }}
File renamed without changes.
Original file line number Diff line number Diff line change 3
3
import torchtext
4
4
from .parameterized_utils import load_params
5
5
6
- CACHE_STATUS_FILE = '.data/cache_status_file.json '
6
+ CACHE_STATUS_FILE = '.data/cache_status_file.txt '
7
7
8
8
9
9
def check_cache_status ():
@@ -21,7 +21,7 @@ def generate_data_cache():
21
21
if os .path .exists (CACHE_STATUS_FILE ):
22
22
return
23
23
24
- raw_data_info = load_params ('raw_datasets.json ' )
24
+ raw_data_info = load_params ('raw_datasets.txt ' )
25
25
cache_status = {}
26
26
for info in raw_data_info :
27
27
info = info .args [0 ]
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ def test_raw_ag_news(self):
156
156
del train_iter , test_iter
157
157
158
158
@parameterized .expand (
159
- load_params ('raw_datasets.json ' ),
159
+ load_params ('raw_datasets.txt ' ),
160
160
name_func = _raw_text_custom_name_func )
161
161
def test_raw_text_classification (self , info ):
162
162
dataset_name = info ['dataset_name' ]
You can’t perform that action at this time.
0 commit comments