Skip to content

handle isolated points - #7

Open
Konoha-Kai wants to merge 1 commit into
biomed-AI:mainfrom
Konoha-Kai:main
Open

handle isolated points#7
Konoha-Kai wants to merge 1 commit into
biomed-AI:mainfrom
Konoha-Kai:main

Conversation

@Konoha-Kai

Copy link
Copy Markdown

Recently, when I was reproducing the Hist2ST model using the TENX49 dataset provided by hest, the model consistently output nan values despite normal input during training, and the issue lay in the model inference process. When I printed out all the parameters, I found that two isolated nodes appeared during graph construction, which caused the inference result of the entire graph to be null values. So I added the operation num_neigh = torch.clamp(num_neigh, min=1.0) to ensure the validity of the results.
hest_dataset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant