-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi,
There is a little issue when using "net.py" and more precisly when using the "newlvq.py" we get this error:
Traceback (most recent call last):
File ".\main.py", line 26, in
net = nl.net.newlvq(nl.tool.minmax(input), 4, [0.4, 0.6])
File "C:\Users\yacine.virtualenvs\lab_uqac\lib\site-packages\neurolab\net.py", line 181, in newlvq
layer_out.np['w'][n][st:i].fill(1.0)
TypeError: slice indices must be integers or None or have an index method
This issue can be solved by converting the variables "st" and "i" to int in the function "newlvq" in the file "net.py".
Yacine.
Metadata
Metadata
Assignees
Labels
No labels