Closed lostanlen closed 5 years ago
This can be fixed with a hard dtype=np.float
when initializing the weights
field. But we should put in some proper tests first. Meanwhile, a workaround is just to cast your weights to foats before instantiating the mux, as demonstrated in the example above.
I'm happy to implement that, but probably can't happen for a few days.
On Wed, Dec 5, 2018 at 9:04 AM Brian McFee notifications@github.com wrote:
This can be fixed with a hard dtype=np.float when initializing the weights field. But we should put in some proper tests first. Meanwhile, a workaround is just to cast your weights to foats before instantiating the mux, as demonstrated in the example above.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pescadores/pescador/issues/143#issuecomment-444562945, or mute the thread https://github.com/notifications/unsubscribe-auth/AA4t88hUVijKeKdcxV6_l1rfz5d2NJrMks5u1_y6gaJpZM4ZBshh .
A minimal (non)-working example
Traceback: