Two curious things I ran into during the HW/labs. Thankfully, the latter didn’t affect the model performance on HW as I got 0.97 for the SSI.
-
In the labs for this week, sometimes (for example in Lab 2)
model.predict(img)is used to get predictions but at other times (in Lab 3)model(img)is used to make predictions. Anyone have any insight on why this is the case? Something with subclassing models? It seems like model(img) is often used within gradient tape. -
In the HW, 2hen I ran
model.fit()I got some corrupt JPG issues. I am running things in Kaggle. Again, the submission worked, but this was strange. See image below:
