You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That is because network.evolve is an async function and network.train is a sync function. There is not a lot I can do about it, except for creating two seperate functions for network.evolve, e.g.:
network.evolveSync();network.evolve()
But network.evolveSync wouldn't be able to use multithreading capabilities then. However, it seems a good idea to add a network.trainAsync() function.
If i run network.evolve the function return a promise with the result, but if i run network.train i get a result.
Shouldnt they be consistent? shouldnt both of them return a promise?
The text was updated successfully, but these errors were encountered: