Skip to content

Commit

Permalink
Update datasets.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunp2 authored Sep 3, 2023
1 parent 20ea830 commit b51ce27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/src/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def collate(batch):
out[key] = torch.nn.utils.rnn.pad_sequence(value, batch_first=True, padding_value=0)
continue
# raise Exception(f'Unknown batch key: {key}')
print(f"Passing {key}")
# print(f"Passing {key}")

atom_mask = (out['fragment_mask'].bool() | out['linker_mask'].bool()).to(const.TORCH_INT)
out['atom_mask'] = atom_mask[:, :, None]
Expand Down

0 comments on commit b51ce27

Please sign in to comment.