Huhujingjing
commited on
Commit
•
263ef5a
1
Parent(s):
3e2d1c7
Upload model
Browse files- modeling_mxm.py +3 -3
modeling_mxm.py
CHANGED
@@ -1015,10 +1015,10 @@ class MXMModel(PreTrainedModel):
|
|
1015 |
self.output +=('-' * 40 + '\n'+'predicted result: \n'+'{}\n'.format(pred_df))
|
1016 |
self.output +=('-' * 40)
|
1017 |
|
1018 |
-
pred_df.to_csv(os.path.join(result_dir, 'gcn.csv'), index=False)
|
1019 |
-
self.output +=('\nsave predicted result to {}\n'.format(os.path.join(result_dir, 'gcn.csv')))
|
1020 |
|
1021 |
-
return self.output
|
1022 |
|
1023 |
|
1024 |
if __name__ == "__main__":
|
|
|
1015 |
self.output +=('-' * 40 + '\n'+'predicted result: \n'+'{}\n'.format(pred_df))
|
1016 |
self.output +=('-' * 40)
|
1017 |
|
1018 |
+
# pred_df.to_csv(os.path.join(result_dir, 'gcn.csv'), index=False)
|
1019 |
+
# self.output +=('\nsave predicted result to {}\n'.format(os.path.join(result_dir, 'gcn.csv')))
|
1020 |
|
1021 |
+
return self.output, pred_df
|
1022 |
|
1023 |
|
1024 |
if __name__ == "__main__":
|