Add CIFAR-10 data exploration

This commit is contained in:
Jake Walker 2024-02-23 13:51:05 +00:00
parent df28f7edaf
commit ee1b533c56
3 changed files with 1668 additions and 479 deletions

File diff suppressed because one or more lines are too long

1943
poetry.lock generated

File diff suppressed because it is too large Load diff

View file

@ -6,7 +6,7 @@ authors = ["Jake Walker <hi@jakew.me>"]
readme = "README.md" readme = "README.md"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.11" python = ">=3.9,<3.12"
jupyterlab = "^4.0.8" jupyterlab = "^4.0.8"
matplotlib = "^3.8.3" matplotlib = "^3.8.3"
seaborn = "^0.13.2" seaborn = "^0.13.2"
@ -14,6 +14,25 @@ numpy = "^1.26.4"
kneed = "^0.8.5" kneed = "^0.8.5"
scikit-learn = "^1.4.1.post1" scikit-learn = "^1.4.1.post1"
# Issue between poetry and tensorflow metadata since >=2.11
# This is a temporary workaround
# related to https://github.com/python-poetry/poetry/issues/8271
# Inspired from https://github.com/tensorflow/tensorflow/blob/adb39b04e9cb116df4659a7e2de9eea27e62f25c/tensorflow/tools/pip_package/setup.py#L148-L162
tensorflow = {version = "^2.13.0" }
tensorflow-macos = { version = "^2.13.0", platform = "darwin", markers = "platform_machine=='arm64'" }
tensorflow-intel = { version = "^2.13.0", platform = "win32" }
tensorflow-cpu = [
{ version = "^2.13.0", platform = "linux", markers = "platform_machine!='arm64' and platform_machine!='aarch64'" },
{ version = "^2.13.0", platform = "darwin", markers = "platform_machine!='arm64' and platform_machine!='aarch64'" },
]
tensorflow-cpu-aws = { version = "^2.13.0", platform = "linux", markers = "platform_machine=='arm64' or platform_machine=='aarch64'" }
# https://github.com/tensorflow/tensorflow/blob/adb39b04e9cb116df4659a7e2de9eea27e62f25c/tensorflow/tools/pip_package/setup.py#L107-L108
# https://github.com/python-poetry/poetry/issues/8271#issuecomment-1697740447
tensorflow-io-gcs-filesystem = [
{ version = ">= 0.23.1", markers = "platform_machine!='arm64' or platform_system!='Darwin'" },
{ version = "< 0.32.0", markers = "platform_system == 'Windows'" }
]
[build-system] [build-system]
requires = ["poetry-core"] requires = ["poetry-core"]