fishmoon1234 / DAG-GNN

Apache License 2.0
290 stars 70 forks source link

Confused about 'nan error' #19

Open ALEX13679173326 opened 2 years ago

ALEX13679173326 commented 2 years ago

Hi

I'm confused about line 41 in module.py file:if torch.sum(self.adj_A != self.adj_A): print('nan error \n')Why add this sentence?Under what circumstances will ‘’nan error‘’ occur?

Looking forward to your reply