This commit is contained in:
yilv committed 2025-10-04 15:32:13 +08:00
1 parent c0a40be768
commit ad16e5502d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ MODEL_CONFIG = {
}
DATASET_CONFIG = {
'ecgbalance':{'n_ch': 1, 'n_cl': 2, 'task':"cls",'lr': 1e-3,'bs': 40,'max_len':387},
'ecgbalance3':{'n_ch': 1, 'n_cl': 2, 'task':"cls",'lr': 1e-3,'bs': 40,'max_len':387},
'ppg2':{'n_ch': 1, 'n_cl': 2, 'task':"cls",'lr': 1e-3,'bs': 128,'max_len':390},
'ppgfull':{'n_ch': 1, 'n_cl': 2, 'task':"cls",'lr': 1e-3,'bs': 128,'max_len':390},
'ppg25':{'n_ch': 1, 'n_cl': 2, 'task':"cls",'lr': 1e-3,'bs': 128,'max_len':390},
+1 -1
View File
@@ -6,7 +6,7 @@ import tqdm
import torch
# np.set_printoptions(threshold=np.inf) # 禁用省略显示
if __name__ == "__main__":
with open(r"C:\Users\yilv\Desktop\DOWNSTREAM\YZ002\sensorData-1759112787423-8961ff5c59114570b6391af4050f8d32_collect_data3_1759083050_1759097987_processed.pkl", "rb") as f:
with open(r"/home/bml/storage/mnt/v-044d0fb740b04ad3/org/wearable_data/data/ecgbalance3/sample_for_downstream/001d7c086ca9487cb3a4437df3492461_20240315223112_chunk_0.pkl", "rb") as f:
sample = pickle.load(f,encoding="latin1")
# del sample["cwt"]
# with open(r"C:\Users\yilv\Desktop\normwear\data\pretrain\dalia\00002384848d4e789cad2bc66153e519_20230615064144_seg1.pkl", 'wb') as f: