manuelcugliari

Results 2 comments of manuelcugliari

Same issue also specifying the device parameter. device = torch.device('cuda' if torch.cuda.is_available() else 'cpu') model = KAN(width=[X_train_torch.shape[1], 10, 2], grid=3, k=3, device=device)

Same issue (maybe). When I try to get the the symbolic formula (model.symbolic_formula(var=input_features) I get 'ZeroDivisionError: integer division or modulo by zero'