Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
deipss committed May 25, 2021
2 parents 52f83e6 + 7c53c5c commit 74f36c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PaintOut.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,15 @@ def data_load_bert_cnn():
for root, dirs, files in os.walk(dir):
for sub_dir in dirs:
path = root + '/' + sub_dir
if 1 ==1 and '25_' in sub_dir and '20m' in sub_dir:
if 1 ==1 and '25_' in sub_dir:
try:
data, data_config = {}, {}
data_file = open(path + '/logs/' + 'test_metrics.json')
data = json.load(data_file)
data_file = open(path + '/' + 'config.json')
data_config = json.load(data_file)
if not data_config['dim'] in [8,16]:
continue

print('%12s\t%3s\t%10s\t%d\t%d\t%s'
% (data_config['model_code'], data_config['dim'], data_config['dataset_code'],
Expand Down

0 comments on commit 74f36c2

Please sign in to comment.