Open wickedCuriosity opened 3 months ago
u may try "torch.autograd.detect_anomaly():" to see what happends when backwards
hi, have you solve this problem?
We have fixed this issue, and you can download the new pathformer code from the GitHub repository. Note that you need to set the batch_norm parameter to 1 when running your dataset.
We have fixed this issue, and you can download the new pathformer code from the GitHub repository. Note that you need to set the batch_norm parameter to 1 when running your dataset.
May I ask you a question.Is the pathformer channel independent or channel dependent? Thank you for your help!
channel dependent
发自我的iPhone
------------------ Original ------------------ From: shandongpengyuyan @.> Date: Sat,Aug 17,2024 2:49 PM To: decisionintelligence/pathformer @.> Cc: Peng Chen @.>, Comment @.> Subject: Re: [decisionintelligence/pathformer] ValueError: Encountering NaNValues in Model Training with PathFormer on Custom Dataset (Issue #9)
We have fixed this issue, and you can download the new pathformer code from the GitHub repository. Note that you need to set the batch_norm parameter to 1 when running your dataset.
Thank you for your response. Could you please provide more guidance on what might be causing this issue? I would be grateful for any insights you could share on how to resolve it.
I am encountering an issue while training the PathFormer model with my own custom dataset: NaN values appear during some epochs, causing the training process to halt. Below is the specific error message: Traceback (most recent call last):