Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit 19274ce

Browse files
committed
dataset
1 parent 1c1d99d commit 19274ce

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.actions/assistant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def _bash_download_data(folder: str) -> List[str]:
289289
if ext not in AssistantCLI._EXT_ARCHIVE:
290290
continue
291291
if ext in AssistantCLI._EXT_ARCHIVE_ZIP:
292-
cmd += [f"unzip -o {fn} -d {AssistantCLI.DATASETS_FOLDER}/{name}/ {UNZIP_PROGRESS_BAR}"]
292+
cmd += [f"unzip -o {fn} -d {AssistantCLI.DATASETS_FOLDER}/{name} {UNZIP_PROGRESS_BAR}"]
293293
else:
294294
cmd += [f"tar -zxvf {fn} --overwrite"]
295295
cmd += [f"rm {fn}"]

.github/workflows/ci_testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
KAGGLE_KEY: ${{ secrets.KAGGLE_KEY }}
7575
run: |
7676
set -e
77-
apt install -y tree
77+
sudo apt install -y tree
7878
while IFS= read -r line; do
7979
python .actions/assistant.py bash-test $line
8080
cat .actions/_ipynb-test.sh

templates/img-classify/classify.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
from pytorch_lightning.loggers import CSVLogger
1010

1111
PATH_DATASETS = os.environ.get("PATH_DATASETS", ".")
12-
# this dataset is automaticaly downloaded and extracted based on meta link
13-
DATA_HYMENOPLERA = os.path.join(PATH_DATASETS, "hymenoptera_data")
12+
# this dataset is automatically downloaded and extracted based on meta link
13+
# this archive includes the one more level - folder with the same name
14+
DATA_HYMENOPLERA = os.path.join(PATH_DATASETS, "hymenoptera_data", "hymenoptera_data")
1415

1516
# %% [markdown]
1617
# ## 1. Create the DataModule

0 commit comments

Comments
 (0)