J.-C. Jiang
J.-C. Jiang
Hi, I have made a PR #91 to resolve this problem.
There's another device missing in https://github.com/KindXiaoming/pykan/blob/master/kan/KAN.py#L205. I've addressed it in my fork at https://github.com/Jim137/pykan/tree/develop. Would you be open to merging my changes and submitting a pull request together?
Hi, I attempted to resolve by converting the input to float before converting it to a Tensor. ```python dataset['train_input'] = torch.from_numpy(train_input.astype(np.float32)) dataset['test_input'] = torch.from_numpy(test_input.astype(np.float32)) ``` This approach successfully addressed the...
It seems that you're using pykan v0.0.3, and the issue you encountered has been fixed in PR #98. However, it hasn't been released yet. @KindXiaoming, could you please make a...
Hi @KindXiaoming, Apologies for the confusion. It seems that pykan v0.0.3 doesn't contain PR #98. The last commit in v0.0.3 is 116f399, which predates commit 70b7b8d where the fix was...
@KindXiaoming, sorry, I mean for users downloading via pypi. The error still occurs. Here is my test using pypi version: ``` ❯ /home/jim137/git/kan/test/bin/python /home/jim137/git/kan/test1.py description: 0%| | 0/20 [00:00
Hi, Could you please update to the latest release? It might solve the issue you're encountering. Let me know if the problem persists even after the update.
Hi, It seems like you're facing a similar issue to #129. A quick workaround is to ensure that your input dtype is float32. I'll create a PR to solve that...
> I've made changes based on #129 similar issue and the problem persists. Please give #148 a try; it's designed to address the issue you're facing. Note that #129 only...