-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
Description
TensorFlow.js version
0.11.6
Browser version
Safari 11.1.1 / Chrome 67.0.3396.79
Describe the problem or feature request
While running the exact same script of a simple XOR-problem on both Safari and Chrome, both browsers display very different losses after Model.fit() was performed multiple times. While Chrome keeps producing smaller losses (around 0.001), Safari gets stuck at a fixed loss (around 0.25).
Suggestion: could this be a precision issue on the Safari platform?
Code to reproduce the bug / link to feature request
Nothing fancy here, but just to be sure:
async function trainModel() {
const h = await model.fit(trainingData.X, trainingData.Y, trainingConfig);
console.log(h.history.loss[0]);
}