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
{{ message }}
This repository was archived by the owner on Dec 26, 2018. It is now read-only.
in file "paramservermodel.py"
int function def train(self, labels, features):
for i in range(len(self.compute_gradients)):
because its not necessary to use "for" in this code, replaced by:
grads, test_error_rate = self.session.run([self.compute_gradients,self.error_rate],feed_dict=feed)
self.gradients[:] = [g[0] for g in grads]
this will save several times of gpu train, especial in mnist one iter time from 7ms to 1ms in my computer
The text was updated successfully, but these errors were encountered: