Daniel Bourke

Results 107 comments of Daniel Bourke

Update: looks like TensorFlow 2.9.0 is still the most stable here, see: https://github.com/mrdbourke/tensorflow-deep-learning/issues/553 TL;DR tried `tf-nightly(2.14.0-dev20230520)` and it still broke.

Hi all, After much troubleshooting, I've found the best fix for `tf.keras.applications.EfficientNetB0` problems is to simply upgrade to [`tf.keras.applications.efficientnet_v2.EfficientNetV2B0`](https://www.tensorflow.org/api_docs/python/tf/keras/applications/efficientnet_v2/EfficientNetV2B0). You can see a full write-up of the fix here: https://github.com/mrdbourke/tensorflow-deep-learning/discussions/575

> > Hi all, > > After much troubleshooting, I've found the best fix for `tf.keras.applications.EfficientNetB0` problems is to simply upgrade to [`tf.keras.applications.efficientnet_v2.EfficientNetV2B0`](https://www.tensorflow.org/api_docs/python/tf/keras/applications/efficientnet_v2/EfficientNetV2B0). > > You can see a full...

Hey @mazarrazi , Thank you for this! I appreciate the typo fix and am happy to merge that. However, as for the `torch.Tensor.type`, I'm not sure that's deprecated? (I may...

Hi @HrushikeshChaphalkar and @jyli559 , I get this quite often too. It happens most when I forget to make sure everything in the `with torch.inference_mode():` context manager has the right...

Hi @NaiyerRafique , This is strange. I just re-ran [Notebook 08 - PyTorch Paper Replicating](https://github.com/mrdbourke/pytorch-deep-learning/blob/main/08_pytorch_paper_replicating.ipynb) in Google Colab and found it worked. I was able to download the `going_modular` scripts...

Hi @jenabesaman , It will depend on what kind of data you're using for `torch.softmax` or `torch.sigmoid`. Do you have a more full example of your code so I can...

Maybe fix this too? ```python File ~/code/pytorch-deep-learning/env/lib/python3.11/site-packages/torchvision/transforms/functional.py:5 3 import sys 4 import math ----> 5 from PIL import Image, ImageOps, ImageEnhance, PILLOW_VERSION 6 try: 7 import accimage ImportError: cannot import...