Open GuoMinghui07 opened 3 months ago
I have the same question.
I got a very similar error on a classification task. I fixed it by removing a feature that contained the same values for all samples.
I got a very similar error on a classification task. I fixed it by removing a feature that contained the same values for all samples.
could you explain how you fix it in details
对于tutorials中的example 4的symbolic regression问题,我尝试将原本的表达式:
f = lambda x: torch.exp(torch.sin(torch.pi*x[:,[0]]) + x[:,[1]]**2)
中的x2前面的系数变成3,即:f = lambda x: torch.exp(torch.sin(torch.pi*x[:,[0]]) + 3*x[:,[1]]**2)
以下文件为训练过程和结果,在最后model.auto_symbolic(lib=lib)
后便报错,不知道是什么问题,请大神指教。 报错.pdf