pykan icon indicating copy to clipboard operation
pykan copied to clipboard

KAN.train doesn't allow to use KAN inside other torch models

Open noskill opened this issue 9 months ago • 1 comments

KAN implementation overrides https://pytorch.org/docs/stable/generated/torch.nn.Module.html#torch.nn.Module.train If i embed KAN in a pytorch module and call a train on it it causes error, because KAN's train expects a dict

noskill avatar May 03 '24 08:05 noskill

This does hinder us form using KAN for testing. I just tried to embed KAN in my model but have no idea how to code

fuhongxue00 avatar May 06 '24 09:05 fuhongxue00