Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Aananda-giri
Copy link

Ch.6 Update lowest_loss initialization from lowest_loss = 9999999 to 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

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 [play]()

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

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()

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants