Skip to content

Commit

Permalink
change tqdm.auto to only tqdm because of printing problems in jupyter
Browse files Browse the repository at this point in the history
  • Loading branch information
afoix committed Aug 19, 2024
1 parent a3de073 commit 8d26f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@
# Now we will train the neural network. A training function is provided below - this should be familiar, but make sure you look it over and understand what is happening in the training loop.

# %%
from tqdm.auto import tqdm
from tqdm import tqdm

# Training function:
def train_mnist(model, train_loader, batch_size, criterion, optimizer, history):
Expand Down

0 comments on commit 8d26f5e

Please sign in to comment.