Skip to content

Commit

Permalink
[mod] closes #548
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea-Papaleo committed Jul 22, 2024
1 parent 9d91564 commit eb9a99d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/models/SimpleCNN/loadSimpleCNN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const createSimpleCNN = (
numClasses: number,
randomizeWeights: boolean
) => {
const seed = randomizeWeights ? Math.random() : 0.42;
const seed = randomizeWeights ? Math.floor(Math.random() * 1000) : 42;

const imageWidth = inputShape.width;
const imageHeight = inputShape.height;
Expand Down

0 comments on commit eb9a99d

Please sign in to comment.