diff --git a/.gitignore b/.gitignore index e5a65d9f1..5fa77b105 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ __pycache__/ .last_checked .gitconfig .ipynb_checkpoints/ +env \ No newline at end of file diff --git a/README.md b/README.md index ac900394c..94dc5d1bd 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,18 @@ Instead of cloning this repo and opening it on your machine, you can read and wo You can open any chapter of the book in Colab by clicking on one of these links: [Introduction to Jupyter](https://colab.research.google.com/github/fastai/fastbook/blob/master/app_jupyter.ipynb) | [Chapter 1, Intro](https://colab.research.google.com/github/fastai/fastbook/blob/master/01_intro.ipynb) | [Chapter 2, Production](https://colab.research.google.com/github/fastai/fastbook/blob/master/02_production.ipynb) | [Chapter 3, Ethics](https://colab.research.google.com/github/fastai/fastbook/blob/master/03_ethics.ipynb) | [Chapter 4, MNIST Basics](https://colab.research.google.com/github/fastai/fastbook/blob/master/04_mnist_basics.ipynb) | [Chapter 5, Pet Breeds](https://colab.research.google.com/github/fastai/fastbook/blob/master/05_pet_breeds.ipynb) | [Chapter 6, Multi-Category](https://colab.research.google.com/github/fastai/fastbook/blob/master/06_multicat.ipynb) | [Chapter 7, Sizing and TTA](https://colab.research.google.com/github/fastai/fastbook/blob/master/07_sizing_and_tta.ipynb) | [Chapter 8, Collab](https://colab.research.google.com/github/fastai/fastbook/blob/master/08_collab.ipynb) | [Chapter 9, Tabular](https://colab.research.google.com/github/fastai/fastbook/blob/master/09_tabular.ipynb) | [Chapter 10, NLP](https://colab.research.google.com/github/fastai/fastbook/blob/master/10_nlp.ipynb) | [Chapter 11, Mid-Level API](https://colab.research.google.com/github/fastai/fastbook/blob/master/11_midlevel_data.ipynb) | [Chapter 12, NLP Deep-Dive](https://colab.research.google.com/github/fastai/fastbook/blob/master/12_nlp_dive.ipynb) | [Chapter 13, Convolutions](https://colab.research.google.com/github/fastai/fastbook/blob/master/13_convolutions.ipynb) | [Chapter 14, Resnet](https://colab.research.google.com/github/fastai/fastbook/blob/master/14_resnet.ipynb) | [Chapter 15, Arch Details](https://colab.research.google.com/github/fastai/fastbook/blob/master/15_arch_details.ipynb) | [Chapter 16, Optimizers and Callbacks](https://colab.research.google.com/github/fastai/fastbook/blob/master/16_accel_sgd.ipynb) | [Chapter 17, Foundations](https://colab.research.google.com/github/fastai/fastbook/blob/master/17_foundations.ipynb) | [Chapter 18, GradCAM](https://colab.research.google.com/github/fastai/fastbook/blob/master/18_CAM.ipynb) | [Chapter 19, Learner](https://colab.research.google.com/github/fastai/fastbook/blob/master/19_learner.ipynb) | [Chapter 20, conclusion](https://colab.research.google.com/github/fastai/fastbook/blob/master/20_conclusion.ipynb) +# FastStart +## Basic Windows or Mac Computer +If you are running this in basic computer and you are using pip here is what you should do to run this book. +For mac or linux +```bash +source os_linux_mac_start.sh +``` + +For Windows +```bash +os_win_start.ps1 +``` ## Contributions diff --git a/os_linux_mac_start.sh b/os_linux_mac_start.sh new file mode 100755 index 000000000..aac9d6f92 --- /dev/null +++ b/os_linux_mac_start.sh @@ -0,0 +1,8 @@ +python3 -m venv env + +source env/bin/activate + + +pip install -r requirements.txt + +jupyter notebook --no-browser diff --git a/os_win_start.ps1 b/os_win_start.ps1 new file mode 100644 index 000000000..ff0047607 --- /dev/null +++ b/os_win_start.ps1 @@ -0,0 +1,9 @@ +python3 -m venv env + +.\env\Scripts\Activate.ps1 + +python3 -m pip install --upgrade pip + +pip install -r .\requirements.txt + +jupyter notebook --no-browser \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index c2ccbf460..e5c1963a0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,100 @@ -fastai>=2.0.0 -graphviz -ipywidgets -matplotlib -nbdev>=0.2.12 -pandas -scikit_learn -azure-cognitiveservices-search-imagesearch -sentencepiece +anyio==4.3.0 +argon2-cffi==23.1.0 +argon2-cffi-bindings==21.2.0 +arrow==1.3.0 +asttokens==2.4.1 +async-lru==2.0.4 +attrs==23.2.0 +Babel==2.14.0 +beautifulsoup4==4.12.3 +bleach==6.1.0 +certifi==2024.2.2 +cffi==1.16.0 +charset-normalizer==3.3.2 +comm==0.2.2 +debugpy==1.8.1 +decorator==5.1.1 +defusedxml==0.7.1 +exceptiongroup==1.2.0 +executing==2.0.1 +fastjsonschema==2.19.1 +fqdn==1.5.1 +h11==0.14.0 +httpcore==1.0.5 +httpx==0.27.0 +idna==3.6 +ipykernel==6.29.4 +ipython==8.23.0 +ipywidgets==8.1.2 +isoduration==20.11.0 +jedi==0.19.1 +Jinja2==3.1.3 +json5==0.9.24 +jsonpointer==2.4 +jsonschema==4.21.1 +jsonschema-specifications==2023.12.1 +jupyter==1.0.0 +jupyter-console==6.6.3 +jupyter-events==0.10.0 +jupyter-lsp==2.2.4 +jupyter_client==8.6.1 +jupyter_core==5.7.2 +jupyter_server==2.13.0 +jupyter_server_terminals==0.5.3 +jupyterlab==4.1.5 +jupyterlab_pygments==0.3.0 +jupyterlab_server==2.25.4 +jupyterlab_widgets==3.0.10 +MarkupSafe==2.1.5 +matplotlib-inline==0.1.6 +mistune==3.0.2 +nbclient==0.10.0 +nbconvert==7.16.3 +nbformat==5.10.4 +nest-asyncio==1.6.0 +notebook==7.1.2 +notebook_shim==0.2.4 +overrides==7.7.0 +packaging==24.0 +pandocfilters==1.5.1 +parso==0.8.4 +pexpect==4.9.0 +platformdirs==4.2.0 +prometheus_client==0.20.0 +prompt-toolkit==3.0.43 +psutil==5.9.8 +ptyprocess==0.7.0 +pure-eval==0.2.2 +pycparser==2.22 +Pygments==2.17.2 +python-dateutil==2.9.0.post0 +python-json-logger==2.0.7 +PyYAML==6.0.1 +pyzmq==25.1.2 +qtconsole==5.5.1 +QtPy==2.4.1 +referencing==0.34.0 +requests==2.31.0 +rfc3339-validator==0.1.4 +rfc3986-validator==0.1.1 +rise==5.7.1 +rpds-py==0.18.0 +Send2Trash==1.8.3 +six==1.16.0 +sniffio==1.3.1 +soupsieve==2.5 +stack-data==0.6.3 +terminado==0.18.1 +tinycss2==1.2.1 +tomli==2.0.1 +tornado==6.4 +traitlets==5.14.2 +types-python-dateutil==2.9.0.20240316 +typing_extensions==4.11.0 +uri-template==1.3.0 +urllib3==2.2.1 +wcwidth==0.2.13 +webcolors==1.13 +webencodings==0.5.1 +websocket-client==1.7.0 +widgetsnbextension==4.0.10