Skip to content

Commit

Permalink
Transcript_id overflows, must be torch.long
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-unyi-42 authored Oct 16, 2024
1 parent ceeba81 commit 4d3e4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/segger/data/parquet/sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ def to_pyg_dataset(
# Set up Transcript nodes
pyg_data["tx"].id = torch.tensor(
self.transcripts[self.settings.transcripts.id].values.astype(int),
dtype=torch.int,
dtype=torch.long,
)
pyg_data["tx"].pos = torch.tensor(
self.transcripts[self.settings.transcripts.xyz].values,
Expand Down

0 comments on commit 4d3e4e3

Please sign in to comment.