carpentries-incubator / intro-image-classification-cnn

new lesson on image classification with convolutional neural networks
https://carpentries-incubator.github.io/intro-image-classification-cnn/
Other
2 stars 3 forks source link

Episode 05 Predict code chunk no numpy import #28

Open isaac-jennings opened 5 months ago

isaac-jennings commented 5 months ago

In episode 05, Python code under Predict refers to np as a module alias for numpy. I could not see anyone in preceeding lessons code where numpy is imported. Recommend adding a line import numpy as np to this chunk, or earlier in workshop, possibly ep01 as numpy is used more often than not in deep learning tasks. Importing familiar modules such as numpy at the outset would help reinforce this practice in learners.

isaac-jennings commented 5 months ago

Import numpy at start of workshop with comment "will be used in subsequent episodes"