dorothy-yao / drfuse

DrFuse: Learning Disentangled Representation for Clinical Multi-Modal Fusion with Missing Modality and Modal Inconsistency (AAAI24)
22 stars 2 forks source link

File Not Found Error #3

Closed Shivi1112 closed 3 months ago

Shivi1112 commented 3 months ago

/drfuse$ python main.py Seed set to 0 Traceback (most recent call last): File "main.py", line 77, in normalizer.load_params(normalizer_state) File "/DATA/drfuse/utils/ehr_normalizer.py", line 43, in load_params with open(load_file_path, "rb") as load_file: FileNotFoundError: [Errno 2] No such file or directory: 'normalizers/ph_ts1.0.input_str_previous.start_time_zero.normalizer'

Also how to get these files ??? 'ehr_phenotyping_48h_train.pkl','ehr_phenotyping_48h_val.pkl','ehr_phenotyping_48h_test.pkl','cxr_phenotyping_48h_train.pkl','cxr_phenotyping_48h_val.pkl','cxr_phenotyping_48h_test.pkl',

dorothy-yao commented 3 months ago

For the normalizer, we used the one in Medfuse . It has been updated to the code.

For pkl files, they are generated automatically. Please extract data from MIMIC-IV and MIMIC-CXR.

Shivi1112 commented 3 months ago

Thank you for your reply.

After running your code, I am getting AUPRC = 0.269 for partial and 0.361 for paired, which is significantly lower than the results reported in the paper. Could you please provide the hyperparameters used to reproduce the reported results?

dorothy-yao commented 3 months ago

Thank you for your interest in our work. The hyperparameters are described in Section 4.1 - Experiment implementation in the published article. Please kindly refer to the content for the implementation details. Thank you.