runtime error
Exit code: 1. Reason: examples/s] š Dataset structure sample: Total samples in our sample: 5000 First row example: {'image': <PIL.Image.Image image mode=RGB size=384x512 at 0x7F95B2996200>, 'label': 6} š Unique classes in sample: 7 š Class distribution: 6 750 79 750 81 750 53 750 10 750 20 750 77 500 Name: count, dtype: int64 šØ Creating exploratory visualizations... ā Visualizations created successfully! āļø Creating train/test split... Training samples: 4000 Testing samples: 1000 Number of classes: 101 /usr/local/lib/python3.10/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead. warnings.warn( /usr/local/lib/python3.10/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=EfficientNet_B0_Weights.IMAGENET1K_V1`. You can also use `weights=EfficientNet_B0_Weights.DEFAULT` to get the most up-to-date weights. warnings.warn(msg) Downloading: "https://download.pytorch.org/models/efficientnet_b0_rwightman-7f5810bc.pth" to /root/.cache/torch/hub/checkpoints/efficientnet_b0_rwightman-7f5810bc.pth 0%| | 0.00/20.5M [00:00<?, ?B/s][A 100%|āāāāāāāāāā| 20.5M/20.5M [00:00<00:00, 148MB/s] Intialized EfficientNet-B0 model with 101 output classes šļø Starting model training (demo mode)... Batch 0/20 - Loss: 4.5315 Batch 5/20 - Loss: 3.9479 Batch 10/20 - Loss: 3.0412 Batch 15/20 - Loss: 2.1291 ā Training completed! Average Loss: 2.9818, Accuracy: 24.38% Traceback (most recent call last): File "/app/app.py", line 312, in <module> gr.Markdown("- This dataset consists of 101 food categories, with 101'000 images. For each class, 250 manually reviewed test images are provided as well as 750 training images") [[1]] TypeError: 'Markdown' object is not subscriptable
Container logs:
Fetching error logs...