Skip to content
Snippets Groups Projects
Commit 32d76e1d authored by Schneider Leo's avatar Schneider Leo
Browse files

dataset pred for diann

parent e842e3d3
No related branches found
No related tags found
No related merge requests found
...@@ -67,6 +67,9 @@ if __name__ =='__main__': ...@@ -67,6 +67,9 @@ if __name__ =='__main__':
decoder_rt_num_layer=args.decoder_rt_num_layer, drop_rate=args.drop_rate, decoder_rt_num_layer=args.decoder_rt_num_layer, drop_rate=args.drop_rate,
embedding_dim=args.embedding_dim, acti=args.activation, norm=args.norm_first) embedding_dim=args.embedding_dim, acti=args.activation, norm=args.norm_first)
if torch.cuda.is_available():
model = model.cuda()
model.load_state_dict(torch.load(args.model_weigh, weights_only=True)) model.load_state_dict(torch.load(args.model_weigh, weights_only=True))
data_test = load_data(data_source=args.dataset_test, batch_size=args.batch_size, length=30, mode=args.split_test, data_test = load_data(data_source=args.dataset_test, batch_size=args.batch_size, length=30, mode=args.split_test,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment