-
In the NetKet documentation, the object netket.models.ARNNConv1D() is said to take the attribute "features" as a Union[Iterable[int], int]. However, when I take "features" as a list[int], it gives me the following error:
I do not get any error when I take "features" as an int. Please let me know, how I can give a list of ints as the attribute "features". |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @dashsid , Let me know if this works. |
Beta Was this translation helpful? Give feedback.
Hi @dashsid ,
could you try to use a tuple instead of a list in the model initialization? So [5,10,20,80] -> (5,10,20,80).
I think the error says that you have an unhashable object in your model and since lists are mutable they are not hashable.
Let me know if this works.