Comments (1)
Im getting a similar error on my project, both model and dataset are on the same device, for me it stops working when you forward run the model with train_inputs, like: model(dataset['train_input'])
, maybe try device=device in the train method as well and see if it is resolved, most likely this is due to the fact that the torch versions are different.
from pykan.
Related Issues (20)
- 请问要如何使用KAN 2.0? HOT 1
- MultKAN.__init__ sets global seeds
- prune() has misleading return value
- kanpiler does not pass device to the model HOT 2
- Dynamic Spline Fixing for Critical Inputs During Iterative Training in KAN Models
- nan replace with 1.0
- model_prune() HOT 1
- Lambda functions in Symbolic_KANLayer attributes are not serializable using pickle (torch.save) HOT 1
- scikit-learn==1.1.3 Incompatible with AgglomerativeClustering Metric Argument
- KAN model train in large tabular dataset for regression or classification?
- May update requirements.txt? HOT 1
- Understanding the number of trainable parameters HOT 1
- After I use forward I get nan as output for regression task. HOT 1
- Error with batch_jacobian Function: Unexpected Keyword Argument 'mode' HOT 1
- plot() method not working as expected. HOT 2
- Modify B_batch function to use its extend option
- Why `get_act()` so many times in `update_grid_from_samples()`? HOT 1
- All saved act should be detached HOT 2
- Quick question on Kanpiler
- Training and test loss values are the square root of applied loss function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pykan.