ageron / ageron/handson-ml2

trange is not defined in exercise 13 of chapter 12

Open
#169 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
30k
Forks
13.1k
PR merge metrics
No merged PRs in 30d

Description

I'm trying to run the implementation provided for exercise 13 in chapter 12 and I get this error

Can you tell me please where is trange defined?
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
in ()
----> 1 with trange(1, n_epochs + 1, desc="All epochs") as epochs:
2 for epoch in epochs:
3 with trange(1, n_steps + 1, desc="Epoch {}/{}".format(epoch, n_epochs)) as steps:
4 for step in steps:
5 X_batch, y_batch = random_batch(X_train, y_train)

NameError: name 'trange' is not defined

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.