-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ch.6 Update lowest_loss initialization from lowest_loss = 9999999
to lowest_loss = np.inf
#21
base: main
Are you sure you want to change the base?
Ch.6 Update lowest_loss initialization from lowest_loss = 9999999
to lowest_loss = np.inf
#21
Conversation
…o `lowest_loss = np.inf`
@@ -110,7 +110,7 @@ def forward(self, y_pred, y_true): | |||
loss_function = Loss_CategoricalCrossentropy() | |||
|
|||
# Helper variables | |||
lowest_loss = 9999999 # some initial value | |||
lowest_loss = np.inf # some initial value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lowest_loss = np.inf # some initial value | |
- [x] lowest_loss = np.inf # some initial value [play]() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
lowest_loss = np.inf # some initial value - [x] lowest_loss = np.inf # some initial value [dog]()
@@ -110,7 +110,7 @@ def forward(self, y_pred, y_true): | |||
loss_function = Loss_CategoricalCrossentropy() | |||
|
|||
# Helper variables |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hello
@@ -110,7 +110,7 @@ def forward(self, y_pred, y_true): | |||
loss_function = Loss_CategoricalCrossentropy() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dog
@@ -110,7 +110,7 @@ def forward(self, y_pred, y_true): | |||
loss_function = Loss_CategoricalCrossentropy() | |||
|
|||
# Helper variables |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ch.6 Update lowest_loss initialization from
lowest_loss = 9999999
tolowest_loss = np.inf