qu-gg / kan-ode

Rough experiments on using Kolmogorov-Arnold Networks (KANs) as the replacement layers in a latent dynamics function, e.g. as the layers of a neural ODE.
6 stars 2 forks source link

toy_train.py running issue #1

Open linanzhang opened 1 month ago

linanzhang commented 1 month ago

Hello authors,

I was wondering which package SingleODEData is imported from on Line 14. I received an error message saying No module named utils.

Thanks.

qu-gg commented 1 month ago

Hi! That import refers to a local import, for the utils/ folder with utils.py and dataloader.py files. Likely Python just breaking its local import pathing between environments (and because I didn't set it up nicely, admittedly).

You should be able to get around this by either adding an empty file called init.py into the utils/ folder or by moving the utils/ files into the main directory and removing the "utils." part from the imports.