{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "ngJ3y91pqJIe", "outputId": "c274d048-341b-49cb-a607-ebcbf738e09b" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Cloning into 'cropDisease-classification'...\n", "remote: Enumerating objects: 139, done.\u001b[K\n", "remote: Counting objects: 100% (23/23), done.\u001b[K\n", "remote: Compressing objects: 100% (19/19), done.\u001b[K\n", "remote: Total 139 (delta 2), reused 17 (delta 1), pack-reused 116\u001b[K\n", "Receiving objects: 100% (139/139), 83.34 MiB | 36.41 MiB/s, done.\n", "Resolving deltas: 100% (2/2), done.\n", "Filtering content: 100% (3/3), 510.39 MiB | 57.76 MiB/s, done.\n" ] } ], "source": [ "# !git clone https://github.com/AssemblyAI-Examples/flask-gpu-app.git\n", "\n", "!git clone https://github.com/HandMadeProjects/cropDisease-classification.git" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "id": "gyWeidA_qQAf" }, "outputs": [], "source": [ "import os\n", "os.chdir(\"cropDisease-classification/__crop-disease-detection\")" ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "LLw1CbCHtyI2", "outputId": "a47126b4-9d7d-489c-9f43-54c34e9fe17d" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "app.py\t\t Dockerfile\tmodel_folder requirements.txt\tstatic\t test_img_folder\n", "docker-details.txt main.py\t__pycache__ Research\t\ttemplates utils.py\n" ] } ], "source": [ "!ls" ] }, { "cell_type": "code", "execution_count": 4, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "ROxrXn_Rt_tk", "outputId": "34429ae7-4b08-4424-d413-8f6e20647abf" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Package Version\n", "-------------------------------- ---------------------\n", "absl-py 1.4.0\n", "aiohttp 3.9.1\n", "aiosignal 1.3.1\n", "alabaster 0.7.13\n", "albumentations 1.3.1\n", "altair 4.2.2\n", "anyio 3.7.1\n", "appdirs 1.4.4\n", "argon2-cffi 23.1.0\n", "argon2-cffi-bindings 21.2.0\n", "array-record 0.5.0\n", "arviz 0.15.1\n", "astropy 5.3.4\n", "astunparse 1.6.3\n", "async-timeout 4.0.3\n", "atpublic 4.0\n", "attrs 23.1.0\n", "audioread 3.0.1\n", "autograd 1.6.2\n", "Babel 2.13.1\n", "backcall 0.2.0\n", "beautifulsoup4 4.11.2\n", "bidict 0.22.1\n", "bigframes 0.15.0\n", "bleach 6.1.0\n", "blinker 1.4\n", "blis 0.7.11\n", "blosc2 2.0.0\n", "bokeh 3.3.1\n", "bqplot 0.12.42\n", "branca 0.7.0\n", "build 1.0.3\n", "CacheControl 0.13.1\n", "cachetools 5.3.2\n", "catalogue 2.0.10\n", "certifi 2023.11.17\n", "cffi 1.16.0\n", "chardet 5.2.0\n", "charset-normalizer 3.3.2\n", "chex 0.1.7\n", "click 8.1.7\n", "click-plugins 1.1.1\n", "cligj 0.7.2\n", "cloudpickle 2.2.1\n", "cmake 3.27.7\n", "cmdstanpy 1.2.0\n", "colorcet 3.0.1\n", "colorlover 0.3.0\n", "colour 0.1.5\n", "community 1.0.0b1\n", "confection 0.1.4\n", "cons 0.4.6\n", "contextlib2 21.6.0\n", "contourpy 1.2.0\n", "cryptography 41.0.7\n", "cufflinks 0.17.3\n", "cupy-cuda11x 11.0.0\n", "cvxopt 1.3.2\n", "cvxpy 1.3.2\n", "cycler 0.12.1\n", "cymem 2.0.8\n", "Cython 3.0.6\n", "dask 2023.8.1\n", "datascience 0.17.6\n", "db-dtypes 1.1.1\n", "dbus-python 1.2.18\n", "debugpy 1.6.6\n", "decorator 4.4.2\n", "defusedxml 0.7.1\n", "diskcache 5.6.3\n", "distributed 2023.8.1\n", "distro 1.7.0\n", "dlib 19.24.2\n", "dm-tree 0.1.8\n", "docutils 0.18.1\n", "dopamine-rl 4.0.6\n", "duckdb 0.9.2\n", "earthengine-api 0.1.381\n", "easydict 1.11\n", "ecos 2.0.12\n", "editdistance 0.6.2\n", "eerepr 0.0.4\n", "en-core-web-sm 3.6.0\n", "entrypoints 0.4\n", "et-xmlfile 1.1.0\n", "etils 1.5.2\n", "etuples 0.3.9\n", "exceptiongroup 1.2.0\n", "fastai 2.7.13\n", "fastcore 1.5.29\n", "fastdownload 0.0.7\n", "fastjsonschema 2.19.0\n", "fastprogress 1.0.3\n", "fastrlock 0.8.2\n", "filelock 3.13.1\n", "fiona 1.9.5\n", "firebase-admin 5.3.0\n", "Flask 2.2.5\n", "flatbuffers 23.5.26\n", "flax 0.7.5\n", "folium 0.14.0\n", "fonttools 4.45.1\n", "frozendict 2.3.10\n", "frozenlist 1.4.0\n", "fsspec 2023.6.0\n", "future 0.18.3\n", "gast 0.5.4\n", "gcsfs 2023.6.0\n", "GDAL 3.4.3\n", "gdown 4.6.6\n", "geemap 0.28.2\n", "gensim 4.3.2\n", "geocoder 1.38.1\n", "geographiclib 2.0\n", "geopandas 0.13.2\n", "geopy 2.3.0\n", "gin-config 0.5.0\n", "glob2 0.7\n", "google 2.0.3\n", "google-ai-generativelanguage 0.3.3\n", "google-api-core 2.11.1\n", "google-api-python-client 2.84.0\n", "google-auth 2.17.3\n", "google-auth-httplib2 0.1.1\n", "google-auth-oauthlib 1.0.0\n", "google-cloud-aiplatform 1.36.4\n", "google-cloud-bigquery 3.12.0\n", "google-cloud-bigquery-connection 1.12.1\n", "google-cloud-bigquery-storage 2.23.0\n", "google-cloud-core 2.3.3\n", "google-cloud-datastore 2.15.2\n", "google-cloud-firestore 2.11.1\n", "google-cloud-functions 1.13.3\n", "google-cloud-iam 2.12.2\n", "google-cloud-language 2.9.1\n", "google-cloud-resource-manager 1.10.4\n", "google-cloud-storage 2.8.0\n", "google-cloud-translate 3.11.3\n", "google-colab 1.0.0\n", "google-crc32c 1.5.0\n", "google-generativeai 0.2.2\n", "google-pasta 0.2.0\n", "google-resumable-media 2.6.0\n", "googleapis-common-protos 1.61.0\n", "googledrivedownloader 0.4\n", "graphviz 0.20.1\n", "greenlet 3.0.1\n", "grpc-google-iam-v1 0.12.7\n", "grpcio 1.59.3\n", "grpcio-status 1.48.2\n", "gspread 3.4.2\n", "gspread-dataframe 3.3.1\n", "gym 0.25.2\n", "gym-notices 0.0.8\n", "h5netcdf 1.3.0\n", "h5py 3.9.0\n", "holidays 0.37\n", "holoviews 1.17.1\n", "html5lib 1.1\n", "httpimport 1.3.1\n", "httplib2 0.22.0\n", "huggingface-hub 0.19.4\n", "humanize 4.7.0\n", "hyperopt 0.2.7\n", "ibis-framework 6.2.0\n", "idna 3.6\n", "imageio 2.31.6\n", "imageio-ffmpeg 0.4.9\n", "imagesize 1.4.1\n", "imbalanced-learn 0.10.1\n", "imgaug 0.4.0\n", "importlib-metadata 6.8.0\n", "importlib-resources 6.1.1\n", "imutils 0.5.4\n", "inflect 7.0.0\n", "iniconfig 2.0.0\n", "install 1.3.5\n", "intel-openmp 2023.2.0\n", "ipyevents 2.0.2\n", "ipyfilechooser 0.6.0\n", "ipykernel 5.5.6\n", "ipyleaflet 0.18.0\n", "ipython 7.34.0\n", "ipython-genutils 0.2.0\n", "ipython-sql 0.5.0\n", "ipytree 0.2.2\n", "ipywidgets 7.7.1\n", "itsdangerous 2.1.2\n", "jax 0.4.20\n", "jaxlib 0.4.20+cuda11.cudnn86\n", "jeepney 0.7.1\n", "jieba 0.42.1\n", "Jinja2 3.1.2\n", "joblib 1.3.2\n", "jsonpickle 3.0.2\n", "jsonschema 4.19.2\n", "jsonschema-specifications 2023.11.2\n", "jupyter-client 6.1.12\n", "jupyter-console 6.1.0\n", "jupyter_core 5.5.0\n", "jupyter-server 1.24.0\n", "jupyterlab_pygments 0.3.0\n", "jupyterlab-widgets 3.0.9\n", "kaggle 1.5.16\n", "keras 2.14.0\n", "keyring 23.5.0\n", "kiwisolver 1.4.5\n", "langcodes 3.3.0\n", "launchpadlib 1.10.16\n", "lazr.restfulclient 0.14.4\n", "lazr.uri 1.0.6\n", "lazy_loader 0.3\n", "libclang 16.0.6\n", "librosa 0.10.1\n", "lida 0.0.10\n", "lightgbm 4.1.0\n", "linkify-it-py 2.0.2\n", "llmx 0.0.15a0\n", "llvmlite 0.41.1\n", "locket 1.0.0\n", "logical-unification 0.4.6\n", "lxml 4.9.3\n", "malloy 2023.1064\n", "Markdown 3.5.1\n", "markdown-it-py 3.0.0\n", "MarkupSafe 2.1.3\n", "matplotlib 3.7.1\n", "matplotlib-inline 0.1.6\n", "matplotlib-venn 0.11.9\n", "mdit-py-plugins 0.4.0\n", "mdurl 0.1.2\n", "miniKanren 1.0.3\n", "missingno 0.5.2\n", "mistune 0.8.4\n", "mizani 0.9.3\n", "mkl 2023.2.0\n", "ml-dtypes 0.2.0\n", "mlxtend 0.22.0\n", "more-itertools 10.1.0\n", "moviepy 1.0.3\n", "mpmath 1.3.0\n", "msgpack 1.0.7\n", "multidict 6.0.4\n", "multipledispatch 1.0.0\n", "multitasking 0.0.11\n", "murmurhash 1.0.10\n", "music21 9.1.0\n", "natsort 8.4.0\n", "nbclassic 1.0.0\n", "nbclient 0.9.0\n", "nbconvert 6.5.4\n", "nbformat 5.9.2\n", "nest-asyncio 1.5.8\n", "networkx 3.2.1\n", "nibabel 4.0.2\n", "nltk 3.8.1\n", "notebook 6.5.5\n", "notebook_shim 0.2.3\n", "numba 0.58.1\n", "numexpr 2.8.7\n", "numpy 1.23.5\n", "oauth2client 4.1.3\n", "oauthlib 3.2.2\n", "opencv-contrib-python 4.8.0.76\n", "opencv-python 4.8.0.76\n", "opencv-python-headless 4.8.1.78\n", "openpyxl 3.1.2\n", "opt-einsum 3.3.0\n", "optax 0.1.7\n", "orbax-checkpoint 0.4.3\n", "osqp 0.6.2.post8\n", "packaging 23.2\n", "pandas 1.5.3\n", "pandas-datareader 0.10.0\n", "pandas-gbq 0.17.9\n", "pandas-stubs 1.5.3.230304\n", "pandocfilters 1.5.0\n", "panel 1.3.4\n", "param 2.0.1\n", "parso 0.8.3\n", "parsy 2.1\n", "partd 1.4.1\n", "pathlib 1.0.1\n", "pathy 0.10.3\n", "patsy 0.5.3\n", "peewee 3.17.0\n", "pexpect 4.9.0\n", "pickleshare 0.7.5\n", "Pillow 9.4.0\n", "pip 23.1.2\n", "pip-tools 6.13.0\n", "platformdirs 4.0.0\n", "plotly 5.15.0\n", "plotnine 0.12.4\n", "pluggy 1.3.0\n", "polars 0.17.3\n", "pooch 1.8.0\n", "portpicker 1.5.2\n", "prefetch-generator 1.0.3\n", "preshed 3.0.9\n", "prettytable 3.9.0\n", "proglog 0.1.10\n", "progressbar2 4.2.0\n", "prometheus-client 0.19.0\n", "promise 2.3\n", "prompt-toolkit 3.0.41\n", "prophet 1.1.5\n", "proto-plus 1.22.3\n", "protobuf 3.20.3\n", "psutil 5.9.5\n", "psycopg2 2.9.9\n", "ptyprocess 0.7.0\n", "py-cpuinfo 9.0.0\n", "py4j 0.10.9.7\n", "pyarrow 9.0.0\n", "pyasn1 0.5.1\n", "pyasn1-modules 0.3.0\n", "pycocotools 2.0.7\n", "pycparser 2.21\n", "pyct 0.5.0\n", "pydantic 1.10.13\n", "pydata-google-auth 1.8.2\n", "pydot 1.4.2\n", "pydot-ng 2.0.0\n", "pydotplus 2.0.2\n", "PyDrive 1.3.1\n", "PyDrive2 1.6.3\n", "pyerfa 2.0.1.1\n", "pygame 2.5.2\n", "Pygments 2.16.1\n", "PyGObject 3.42.1\n", "PyJWT 2.3.0\n", "pymc 5.7.2\n", "pymystem3 0.2.0\n", "PyOpenGL 3.1.7\n", "pyOpenSSL 23.3.0\n", "pyparsing 3.1.1\n", "pyperclip 1.8.2\n", "pyproj 3.6.1\n", "pyproject_hooks 1.0.0\n", "pyshp 2.3.1\n", "PySocks 1.7.1\n", "pytensor 2.14.2\n", "pytest 7.4.3\n", "python-apt 0.0.0\n", "python-box 7.1.1\n", "python-dateutil 2.8.2\n", "python-louvain 0.16\n", "python-slugify 8.0.1\n", "python-utils 3.8.1\n", "pytz 2023.3.post1\n", "pyviz_comms 3.0.0\n", "PyWavelets 1.5.0\n", "PyYAML 6.0.1\n", "pyzmq 23.2.1\n", "qdldl 0.1.7.post0\n", "qudida 0.0.4\n", "ratelim 0.1.6\n", "referencing 0.31.1\n", "regex 2023.6.3\n", "requests 2.31.0\n", "requests-oauthlib 1.3.1\n", "requirements-parser 0.5.0\n", "rich 13.7.0\n", "rpds-py 0.13.2\n", "rpy2 3.4.2\n", "rsa 4.9\n", "safetensors 0.4.1\n", "scikit-image 0.19.3\n", "scikit-learn 1.2.2\n", "scipy 1.11.4\n", "scooby 0.9.2\n", "scs 3.2.4.post1\n", "seaborn 0.12.2\n", "SecretStorage 3.3.1\n", "Send2Trash 1.8.2\n", "setuptools 67.7.2\n", "shapely 2.0.2\n", "six 1.16.0\n", "sklearn-pandas 2.2.0\n", "smart-open 6.4.0\n", "sniffio 1.3.0\n", "snowballstemmer 2.2.0\n", "sortedcontainers 2.4.0\n", "soundfile 0.12.1\n", "soupsieve 2.5\n", "soxr 0.3.7\n", "spacy 3.6.1\n", "spacy-legacy 3.0.12\n", "spacy-loggers 1.0.5\n", "Sphinx 5.0.2\n", "sphinxcontrib-applehelp 1.0.7\n", "sphinxcontrib-devhelp 1.0.5\n", "sphinxcontrib-htmlhelp 2.0.4\n", "sphinxcontrib-jsmath 1.0.1\n", "sphinxcontrib-qthelp 1.0.6\n", "sphinxcontrib-serializinghtml 1.1.9\n", "SQLAlchemy 2.0.23\n", "sqlglot 17.16.2\n", "sqlparse 0.4.4\n", "srsly 2.4.8\n", "stanio 0.3.0\n", "statsmodels 0.14.0\n", "sympy 1.12\n", "tables 3.8.0\n", "tabulate 0.9.0\n", "tbb 2021.11.0\n", "tblib 3.0.0\n", "tenacity 8.2.3\n", "tensorboard 2.14.1\n", "tensorboard-data-server 0.7.2\n", "tensorflow 2.14.0\n", "tensorflow-datasets 4.9.3\n", "tensorflow-estimator 2.14.0\n", "tensorflow-gcs-config 2.14.0\n", "tensorflow-hub 0.15.0\n", "tensorflow-io-gcs-filesystem 0.34.0\n", "tensorflow-metadata 1.14.0\n", "tensorflow-probability 0.22.0\n", "tensorstore 0.1.45\n", "termcolor 2.3.0\n", "terminado 0.18.0\n", "text-unidecode 1.3\n", "textblob 0.17.1\n", "tf-slim 1.1.0\n", "thinc 8.1.12\n", "threadpoolctl 3.2.0\n", "tifffile 2023.9.26\n", "tinycss2 1.2.1\n", "tokenizers 0.15.0\n", "toml 0.10.2\n", "tomli 2.0.1\n", "toolz 0.12.0\n", "torch 2.1.0+cu118\n", "torchaudio 2.1.0+cu118\n", "torchdata 0.7.0\n", "torchsummary 1.5.1\n", "torchtext 0.16.0\n", "torchvision 0.16.0+cu118\n", "tornado 6.3.2\n", "tqdm 4.66.1\n", "traitlets 5.7.1\n", "traittypes 0.2.1\n", "transformers 4.35.2\n", "triton 2.1.0\n", "tweepy 4.14.0\n", "typer 0.9.0\n", "types-pytz 2023.3.1.1\n", "types-setuptools 69.0.0.0\n", "typing_extensions 4.5.0\n", "tzlocal 5.2\n", "uc-micro-py 1.0.2\n", "uritemplate 4.1.1\n", "urllib3 2.0.7\n", "vega-datasets 0.9.0\n", "wadllib 1.3.6\n", "wasabi 1.1.2\n", "wcwidth 0.2.12\n", "webcolors 1.13\n", "webencodings 0.5.1\n", "websocket-client 1.6.4\n", "Werkzeug 3.0.1\n", "wheel 0.42.0\n", "widgetsnbextension 3.6.6\n", "wordcloud 1.9.2\n", "wrapt 1.14.1\n", "xarray 2023.7.0\n", "xarray-einstats 0.6.0\n", "xgboost 2.0.2\n", "xlrd 2.0.1\n", "xxhash 3.4.1\n", "xyzservices 2023.10.1\n", "yarl 1.9.3\n", "yellowbrick 1.5\n", "yfinance 0.2.32\n", "zict 3.0.0\n", "zipp 3.17.0\n" ] } ], "source": [ "!pip list" ] }, { "cell_type": "code", "execution_count": 5, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "ViS2sA21qUGZ", "outputId": "9865ece2-bde2-40ae-806c-31f184683a86" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Requirement already satisfied: Flask in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 1)) (2.2.5)\n", "Collecting pyngrok==4.1.1 (from -r requirements.txt (line 2))\n", " Downloading pyngrok-4.1.1.tar.gz (18 kB)\n", " Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Collecting flask_ngrok (from -r requirements.txt (line 3))\n", " Downloading flask_ngrok-0.0.25-py3-none-any.whl (3.1 kB)\n", "Requirement already satisfied: tensorflow in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 4)) (2.14.0)\n", "Requirement already satisfied: future in /usr/local/lib/python3.10/dist-packages (from pyngrok==4.1.1->-r requirements.txt (line 2)) (0.18.3)\n", "Requirement already satisfied: PyYAML in /usr/local/lib/python3.10/dist-packages (from pyngrok==4.1.1->-r requirements.txt (line 2)) (6.0.1)\n", "Requirement already satisfied: Werkzeug>=2.2.2 in /usr/local/lib/python3.10/dist-packages (from Flask->-r requirements.txt (line 1)) (3.0.1)\n", "Requirement already satisfied: Jinja2>=3.0 in /usr/local/lib/python3.10/dist-packages (from Flask->-r requirements.txt (line 1)) (3.1.2)\n", "Requirement already satisfied: itsdangerous>=2.0 in /usr/local/lib/python3.10/dist-packages (from Flask->-r requirements.txt (line 1)) (2.1.2)\n", "Requirement already satisfied: click>=8.0 in /usr/local/lib/python3.10/dist-packages (from Flask->-r requirements.txt (line 1)) (8.1.7)\n", "Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from flask_ngrok->-r requirements.txt (line 3)) (2.31.0)\n", "Requirement already satisfied: absl-py>=1.0.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (1.4.0)\n", "Requirement already satisfied: astunparse>=1.6.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (1.6.3)\n", "Requirement already satisfied: flatbuffers>=23.5.26 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (23.5.26)\n", "Requirement already satisfied: gast!=0.5.0,!=0.5.1,!=0.5.2,>=0.2.1 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (0.5.4)\n", "Requirement already satisfied: google-pasta>=0.1.1 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (0.2.0)\n", "Requirement already satisfied: h5py>=2.9.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (3.9.0)\n", "Requirement already satisfied: libclang>=13.0.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (16.0.6)\n", "Requirement already satisfied: ml-dtypes==0.2.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (0.2.0)\n", "Requirement already satisfied: numpy>=1.23.5 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (1.23.5)\n", "Requirement already satisfied: opt-einsum>=2.3.2 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (3.3.0)\n", "Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (23.2)\n", "Requirement already satisfied: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (3.20.3)\n", "Requirement already satisfied: setuptools in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (67.7.2)\n", "Requirement already satisfied: six>=1.12.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (1.16.0)\n", "Requirement already satisfied: termcolor>=1.1.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (2.3.0)\n", "Requirement already satisfied: typing-extensions>=3.6.6 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (4.5.0)\n", "Requirement already satisfied: wrapt<1.15,>=1.11.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (1.14.1)\n", "Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.23.1 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (0.34.0)\n", "Requirement already satisfied: grpcio<2.0,>=1.24.3 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (1.59.3)\n", "Requirement already satisfied: tensorboard<2.15,>=2.14 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (2.14.1)\n", "Requirement already satisfied: tensorflow-estimator<2.15,>=2.14.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (2.14.0)\n", "Requirement already satisfied: keras<2.15,>=2.14.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 4)) (2.14.0)\n", "Requirement already satisfied: wheel<1.0,>=0.23.0 in /usr/local/lib/python3.10/dist-packages (from astunparse>=1.6.0->tensorflow->-r requirements.txt (line 4)) (0.42.0)\n", "Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from Jinja2>=3.0->Flask->-r requirements.txt (line 1)) (2.1.3)\n", "Requirement already satisfied: google-auth<3,>=1.6.3 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.15,>=2.14->tensorflow->-r requirements.txt (line 4)) (2.17.3)\n", "Requirement already satisfied: google-auth-oauthlib<1.1,>=0.5 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.15,>=2.14->tensorflow->-r requirements.txt (line 4)) (1.0.0)\n", "Requirement already satisfied: markdown>=2.6.8 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.15,>=2.14->tensorflow->-r requirements.txt (line 4)) (3.5.1)\n", "Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.15,>=2.14->tensorflow->-r requirements.txt (line 4)) (0.7.2)\n", "Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests->flask_ngrok->-r requirements.txt (line 3)) (3.3.2)\n", "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->flask_ngrok->-r requirements.txt (line 3)) (3.6)\n", "Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->flask_ngrok->-r requirements.txt (line 3)) (2.0.7)\n", "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->flask_ngrok->-r requirements.txt (line 3)) (2023.11.17)\n", "Requirement already satisfied: cachetools<6.0,>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard<2.15,>=2.14->tensorflow->-r requirements.txt (line 4)) (5.3.2)\n", "Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard<2.15,>=2.14->tensorflow->-r requirements.txt (line 4)) (0.3.0)\n", "Requirement already satisfied: rsa<5,>=3.1.4 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard<2.15,>=2.14->tensorflow->-r requirements.txt (line 4)) (4.9)\n", "Requirement already satisfied: requests-oauthlib>=0.7.0 in /usr/local/lib/python3.10/dist-packages (from google-auth-oauthlib<1.1,>=0.5->tensorboard<2.15,>=2.14->tensorflow->-r requirements.txt (line 4)) (1.3.1)\n", "Requirement already satisfied: pyasn1<0.6.0,>=0.4.6 in /usr/local/lib/python3.10/dist-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard<2.15,>=2.14->tensorflow->-r requirements.txt (line 4)) (0.5.1)\n", "Requirement already satisfied: oauthlib>=3.0.0 in /usr/local/lib/python3.10/dist-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tensorboard<2.15,>=2.14->tensorflow->-r requirements.txt (line 4)) (3.2.2)\n", "Building wheels for collected packages: pyngrok\n", " Building wheel for pyngrok (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for pyngrok: filename=pyngrok-4.1.1-py3-none-any.whl size=15963 sha256=f1fdb848b9c877e12c25942bc8b676adaeb7a2a73cfc9cce746a805d2dc938be\n", " Stored in directory: /root/.cache/pip/wheels/4c/7c/4c/632fba2ea8e88d8890102eb07bc922e1ca8fa14db5902c91a8\n", "Successfully built pyngrok\n", "Installing collected packages: pyngrok, flask_ngrok\n", "Successfully installed flask_ngrok-0.0.25 pyngrok-4.1.1\n" ] } ], "source": [ "!pip install -r requirements.txt" ] }, { "cell_type": "code", "execution_count": 6, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "aTtizNvdqVth", "outputId": "7e8dc2ae-553e-4511-d6fb-b8114ee2fe3d" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Authtoken saved to configuration file: /root/.ngrok2/ngrok.yml\n" ] } ], "source": [ "!ngrok authtoken --your--ngrok--authtoken" ] }, { "cell_type": "code", "execution_count": 7, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "y-YaUs68qYEb", "outputId": "87cc6ddb-c26d-404e-95e8-7f31da5c3478" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "2023-12-06 15:20:46.739778: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\n", "2023-12-06 15:20:46.739855: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\n", "2023-12-06 15:20:46.739894: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\n", "2023-12-06 15:20:46.748309: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\n", "To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\n", "2023-12-06 15:20:48.188419: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\n", "WARNING:tensorflow:From /usr/local/lib/python3.10/dist-packages/tensorflow/python/compat/v2_compat.py:108: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.\n", "Instructions for updating:\n", "non-resource variables are not supported in the long term\n", " * Serving Flask app 'main'\n", " * Debug mode: off\n", "\u001b[31m\u001b[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.\u001b[0m\n", " * Running on http://127.0.0.1:5000\n", "\u001b[33mPress CTRL+C to quit\u001b[0m\n", " * Running on http://b902-35-245-203-162.ngrok-free.app\n", " * Traffic stats available on http://127.0.0.1:4040\n", "127.0.0.1 - - [06/Dec/2023 15:20:57] \"GET / HTTP/1.1\" 200 -\n", "127.0.0.1 - - [06/Dec/2023 15:20:58] \"GET /static/setup/tomato_image.jpeg HTTP/1.1\" 200 -\n", "127.0.0.1 - - [06/Dec/2023 15:20:58] \"GET /static/setup/logo.png HTTP/1.1\" 200 -\n", "127.0.0.1 - - [06/Dec/2023 15:20:58] \"GET /static/setup/sugarcane_image.jpeg HTTP/1.1\" 200 -\n", "127.0.0.1 - - [06/Dec/2023 15:20:59] \"GET /static/setup/cotton_image.jpeg HTTP/1.1\" 200 -\n", "127.0.0.1 - - [06/Dec/2023 15:20:59] \"\u001b[33mGET /favicon.ico HTTP/1.1\u001b[0m\" 404 -\n", "127.0.0.1 - - [06/Dec/2023 15:21:03] \"GET /cropmodel/?modelname=sugarcanemodel HTTP/1.1\" 200 -\n", "127.0.0.1 - - [06/Dec/2023 15:21:04] \"\u001b[36mGET /static/setup/logo.png HTTP/1.1\u001b[0m\" 304 -\n", "127.0.0.1 - - [06/Dec/2023 15:21:04] \"GET /static/setup/plant.png HTTP/1.1\" 200 -\n", "WARNING:tensorflow:Error in loading the saved optimizer state. As a result, your model is starting with a freshly initialized optimizer.\n", "1/1 [==============================] - 0s 273ms/step\n", "sugarcanemodel __ Predicted class - 0 : Bacterial Blight\n", "--- result : Bacterial Blight\n", "127.0.0.1 - - [06/Dec/2023 15:21:30] \"POST /upload HTTP/1.1\" 200 -\n", "127.0.0.1 - - [06/Dec/2023 15:21:31] \"\u001b[36mGET /static/setup/logo.png HTTP/1.1\u001b[0m\" 304 -\n", "127.0.0.1 - - [06/Dec/2023 15:21:31] \"GET /static/uploaded_images/imageFile.jpeg HTTP/1.1\" 200 -\n", "WARNING:tensorflow:Error in loading the saved optimizer state. As a result, your model is starting with a freshly initialized optimizer.\n", "1/1 [==============================] - 0s 99ms/step\n", "sugarcanemodel __ Predicted class - 1 : Healthy\n", "--- result : Healthy\n", "127.0.0.1 - - [06/Dec/2023 15:21:52] \"POST /upload HTTP/1.1\" 200 -\n", "127.0.0.1 - - [06/Dec/2023 15:21:52] \"GET /static/uploaded_images/imageFile.jpeg HTTP/1.1\" 200 -\n", "127.0.0.1 - - [06/Dec/2023 15:21:52] \"\u001b[36mGET /static/setup/logo.png HTTP/1.1\u001b[0m\" 304 -\n", "Exception ignored in: \n", "Traceback (most recent call last):\n", " File \"/usr/lib/python3.10/threading.py\", line 1540, in _shutdown\n", " if _main_thread.ident == get_ident():\n", "KeyboardInterrupt: \n" ] } ], "source": [ "!python main.py" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "HV7DdzrHsFAu", "outputId": "d33d37dc-0882-41c7-9da2-d59a30199ec2" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Package Version\n", "-------------------------------- ---------------------\n", "absl-py 1.4.0\n", "accelerate 0.25.0\n", "aiohttp 3.9.1\n", "aiosignal 1.3.1\n", "alabaster 0.7.13\n", "albumentations 1.3.1\n", "altair 4.2.2\n", "anyio 3.7.1\n", "appdirs 1.4.4\n", "argon2-cffi 23.1.0\n", "argon2-cffi-bindings 21.2.0\n", "array-record 0.5.0\n", "arviz 0.15.1\n", "astropy 5.3.4\n", "astunparse 1.6.3\n", "async-timeout 4.0.3\n", "atpublic 4.0\n", "attrs 23.1.0\n", "audioread 3.0.1\n", "autograd 1.6.2\n", "Babel 2.13.1\n", "backcall 0.2.0\n", "beautifulsoup4 4.11.2\n", "bidict 0.22.1\n", "bigframes 0.15.0\n", "bleach 6.1.0\n", "blinker 1.4\n", "blis 0.7.11\n", "blosc2 2.0.0\n", "bokeh 3.3.1\n", "bqplot 0.12.42\n", "branca 0.7.0\n", "build 1.0.3\n", "CacheControl 0.13.1\n", "cachetools 5.3.2\n", "catalogue 2.0.10\n", "certifi 2023.11.17\n", "cffi 1.16.0\n", "chardet 5.2.0\n", "charset-normalizer 3.3.2\n", "chex 0.1.7\n", "click 8.1.7\n", "click-plugins 1.1.1\n", "cligj 0.7.2\n", "cloudpickle 2.2.1\n", "cmake 3.27.7\n", "cmdstanpy 1.2.0\n", "colorcet 3.0.1\n", "colorlover 0.3.0\n", "colour 0.1.5\n", "community 1.0.0b1\n", "confection 0.1.4\n", "cons 0.4.6\n", "contextlib2 21.6.0\n", "contourpy 1.2.0\n", "cryptography 41.0.7\n", "cufflinks 0.17.3\n", "cupy-cuda11x 11.0.0\n", "cvxopt 1.3.2\n", "cvxpy 1.3.2\n", "cycler 0.12.1\n", "cymem 2.0.8\n", "Cython 3.0.6\n", "dask 2023.8.1\n", "datascience 0.17.6\n", "db-dtypes 1.1.1\n", "dbus-python 1.2.18\n", "debugpy 1.6.6\n", "decorator 4.4.2\n", "defusedxml 0.7.1\n", "diffusers 0.10.2\n", "diskcache 5.6.3\n", "distributed 2023.8.1\n", "distro 1.7.0\n", "dlib 19.24.2\n", "dm-tree 0.1.8\n", "docutils 0.18.1\n", "dopamine-rl 4.0.6\n", "duckdb 0.9.2\n", "earthengine-api 0.1.381\n", "easydict 1.11\n", "ecos 2.0.12\n", "editdistance 0.6.2\n", "eerepr 0.0.4\n", "en-core-web-sm 3.6.0\n", "entrypoints 0.4\n", "et-xmlfile 1.1.0\n", "etils 1.5.2\n", "etuples 0.3.9\n", "exceptiongroup 1.2.0\n", "fastai 2.7.13\n", "fastcore 1.5.29\n", "fastdownload 0.0.7\n", "fastjsonschema 2.19.0\n", "fastprogress 1.0.3\n", "fastrlock 0.8.2\n", "filelock 3.13.1\n", "fiona 1.9.5\n", "firebase-admin 5.3.0\n", "Flask 2.2.5\n", "flask-ngrok 0.0.25\n", "flatbuffers 23.5.26\n", "flax 0.7.5\n", "folium 0.14.0\n", "fonttools 4.45.1\n", "frozendict 2.3.10\n", "frozenlist 1.4.0\n", "fsspec 2023.6.0\n", "ftfy 6.1.3\n", "future 0.18.3\n", "gast 0.5.4\n", "gcsfs 2023.6.0\n", "GDAL 3.4.3\n", "gdown 4.6.6\n", "geemap 0.28.2\n", "gensim 4.3.2\n", "geocoder 1.38.1\n", "geographiclib 2.0\n", "geopandas 0.13.2\n", "geopy 2.3.0\n", "gin-config 0.5.0\n", "glob2 0.7\n", "google 2.0.3\n", "google-ai-generativelanguage 0.3.3\n", "google-api-core 2.11.1\n", "google-api-python-client 2.84.0\n", "google-auth 2.17.3\n", "google-auth-httplib2 0.1.1\n", "google-auth-oauthlib 1.0.0\n", "google-cloud-aiplatform 1.36.4\n", "google-cloud-bigquery 3.12.0\n", "google-cloud-bigquery-connection 1.12.1\n", "google-cloud-bigquery-storage 2.23.0\n", "google-cloud-core 2.3.3\n", "google-cloud-datastore 2.15.2\n", "google-cloud-firestore 2.11.1\n", "google-cloud-functions 1.13.3\n", "google-cloud-iam 2.12.2\n", "google-cloud-language 2.9.1\n", "google-cloud-resource-manager 1.10.4\n", "google-cloud-storage 2.8.0\n", "google-cloud-translate 3.11.3\n", "google-colab 1.0.0\n", "google-crc32c 1.5.0\n", "google-generativeai 0.2.2\n", "google-pasta 0.2.0\n", "google-resumable-media 2.6.0\n", "googleapis-common-protos 1.61.0\n", "googledrivedownloader 0.4\n", "graphviz 0.20.1\n", "greenlet 3.0.1\n", "grpc-google-iam-v1 0.12.7\n", "grpcio 1.59.3\n", "grpcio-status 1.48.2\n", "gspread 3.4.2\n", "gspread-dataframe 3.3.1\n", "gym 0.25.2\n", "gym-notices 0.0.8\n", "h5netcdf 1.3.0\n", "h5py 3.9.0\n", "holidays 0.37\n", "holoviews 1.17.1\n", "html5lib 1.1\n", "httpimport 1.3.1\n", "httplib2 0.22.0\n", "huggingface-hub 0.19.4\n", "humanize 4.7.0\n", "hyperopt 0.2.7\n", "ibis-framework 6.2.0\n", "idna 3.6\n", "imageio 2.31.6\n", "imageio-ffmpeg 0.4.9\n", "imagesize 1.4.1\n", "imbalanced-learn 0.10.1\n", "imgaug 0.4.0\n", "importlib-metadata 6.8.0\n", "importlib-resources 6.1.1\n", "imutils 0.5.4\n", "inflect 7.0.0\n", "iniconfig 2.0.0\n", "install 1.3.5\n", "intel-openmp 2023.2.0\n", "ipyevents 2.0.2\n", "ipyfilechooser 0.6.0\n", "ipykernel 5.5.6\n", "ipyleaflet 0.18.0\n", "ipython 7.34.0\n", "ipython-genutils 0.2.0\n", "ipython-sql 0.5.0\n", "ipytree 0.2.2\n", "ipywidgets 7.7.1\n", "itsdangerous 2.1.2\n", "jax 0.4.20\n", "jaxlib 0.4.20+cuda11.cudnn86\n", "jeepney 0.7.1\n", "jieba 0.42.1\n", "Jinja2 3.1.2\n", "joblib 1.3.2\n", "jsonpickle 3.0.2\n", "jsonschema 4.19.2\n", "jsonschema-specifications 2023.11.2\n", "jupyter-client 6.1.12\n", "jupyter-console 6.1.0\n", "jupyter_core 5.5.0\n", "jupyter-server 1.24.0\n", "jupyterlab_pygments 0.3.0\n", "jupyterlab-widgets 3.0.9\n", "kaggle 1.5.16\n", "keras 2.14.0\n", "keyring 23.5.0\n", "kiwisolver 1.4.5\n", "langcodes 3.3.0\n", "launchpadlib 1.10.16\n", "lazr.restfulclient 0.14.4\n", "lazr.uri 1.0.6\n", "lazy_loader 0.3\n", "libclang 16.0.6\n", "librosa 0.10.1\n", "lida 0.0.10\n", "lightgbm 4.1.0\n", "linkify-it-py 2.0.2\n", "llmx 0.0.15a0\n", "llvmlite 0.41.1\n", "locket 1.0.0\n", "logical-unification 0.4.6\n", "lxml 4.9.3\n", "malloy 2023.1064\n", "Markdown 3.5.1\n", "markdown-it-py 3.0.0\n", "MarkupSafe 2.1.3\n", "matplotlib 3.7.1\n", "matplotlib-inline 0.1.6\n", "matplotlib-venn 0.11.9\n", "mdit-py-plugins 0.4.0\n", "mdurl 0.1.2\n", "miniKanren 1.0.3\n", "missingno 0.5.2\n", "mistune 0.8.4\n", "mizani 0.9.3\n", "mkl 2023.2.0\n", "ml-dtypes 0.2.0\n", "mlxtend 0.22.0\n", "more-itertools 10.1.0\n", "moviepy 1.0.3\n", "mpmath 1.3.0\n", "msgpack 1.0.7\n", "multidict 6.0.4\n", "multipledispatch 1.0.0\n", "multitasking 0.0.11\n", "murmurhash 1.0.10\n", "music21 9.1.0\n", "natsort 8.4.0\n", "nbclassic 1.0.0\n", "nbclient 0.9.0\n", "nbconvert 6.5.4\n", "nbformat 5.9.2\n", "nest-asyncio 1.5.8\n", "networkx 3.2.1\n", "nibabel 4.0.2\n", "nltk 3.8.1\n", "notebook 6.5.5\n", "notebook_shim 0.2.3\n", "numba 0.58.1\n", "numexpr 2.8.7\n", "numpy 1.23.5\n", "oauth2client 4.1.3\n", "oauthlib 3.2.2\n", "opencv-contrib-python 4.8.0.76\n", "opencv-python 4.8.0.76\n", "opencv-python-headless 4.8.1.78\n", "openpyxl 3.1.2\n", "opt-einsum 3.3.0\n", "optax 0.1.7\n", "orbax-checkpoint 0.4.3\n", "osqp 0.6.2.post8\n", "packaging 23.2\n", "pandas 1.5.3\n", "pandas-datareader 0.10.0\n", "pandas-gbq 0.17.9\n", "pandas-stubs 1.5.3.230304\n", "pandocfilters 1.5.0\n", "panel 1.3.4\n", "param 2.0.1\n", "parso 0.8.3\n", "parsy 2.1\n", "partd 1.4.1\n", "pathlib 1.0.1\n", "pathy 0.10.3\n", "patsy 0.5.3\n", "peewee 3.17.0\n", "pexpect 4.9.0\n", "pickleshare 0.7.5\n", "Pillow 9.4.0\n", "pip 23.1.2\n", "pip-tools 6.13.0\n", "platformdirs 4.0.0\n", "plotly 5.15.0\n", "plotnine 0.12.4\n", "pluggy 1.3.0\n", "polars 0.17.3\n", "pooch 1.8.0\n", "portpicker 1.5.2\n", "prefetch-generator 1.0.3\n", "preshed 3.0.9\n", "prettytable 3.9.0\n", "proglog 0.1.10\n", "progressbar2 4.2.0\n", "prometheus-client 0.19.0\n", "promise 2.3\n", "prompt-toolkit 3.0.41\n", "prophet 1.1.5\n", "proto-plus 1.22.3\n", "protobuf 3.20.3\n", "psutil 5.9.5\n", "psycopg2 2.9.9\n", "ptyprocess 0.7.0\n", "py-cpuinfo 9.0.0\n", "py4j 0.10.9.7\n", "pyarrow 9.0.0\n", "pyasn1 0.5.1\n", "pyasn1-modules 0.3.0\n", "pycocotools 2.0.7\n", "pycparser 2.21\n", "pyct 0.5.0\n", "pydantic 1.10.13\n", "pydata-google-auth 1.8.2\n", "pydot 1.4.2\n", "pydot-ng 2.0.0\n", "pydotplus 2.0.2\n", "PyDrive 1.3.1\n", "PyDrive2 1.6.3\n", "pyerfa 2.0.1.1\n", "pygame 2.5.2\n", "Pygments 2.16.1\n", "PyGObject 3.42.1\n", "PyJWT 2.3.0\n", "pymc 5.7.2\n", "pymystem3 0.2.0\n", "pyngrok 4.1.1\n", "PyOpenGL 3.1.7\n", "pyOpenSSL 23.3.0\n", "pyparsing 3.1.1\n", "pyperclip 1.8.2\n", "pyproj 3.6.1\n", "pyproject_hooks 1.0.0\n", "pyshp 2.3.1\n", "PySocks 1.7.1\n", "pytensor 2.14.2\n", "pytest 7.4.3\n", "python-apt 0.0.0\n", "python-box 7.1.1\n", "python-dateutil 2.8.2\n", "python-louvain 0.16\n", "python-slugify 8.0.1\n", "python-utils 3.8.1\n", "pytz 2023.3.post1\n", "pyviz_comms 3.0.0\n", "PyWavelets 1.5.0\n", "PyYAML 6.0.1\n", "pyzmq 23.2.1\n", "qdldl 0.1.7.post0\n", "qudida 0.0.4\n", "ratelim 0.1.6\n", "referencing 0.31.1\n", "regex 2023.6.3\n", "requests 2.31.0\n", "requests-oauthlib 1.3.1\n", "requirements-parser 0.5.0\n", "rich 13.7.0\n", "rpds-py 0.13.2\n", "rpy2 3.4.2\n", "rsa 4.9\n", "safetensors 0.4.1\n", "scikit-image 0.19.3\n", "scikit-learn 1.2.2\n", "scipy 1.11.4\n", "scooby 0.9.2\n", "scs 3.2.4.post1\n", "seaborn 0.12.2\n", "SecretStorage 3.3.1\n", "Send2Trash 1.8.2\n", "setuptools 67.7.2\n", "shapely 2.0.2\n", "six 1.16.0\n", "sklearn-pandas 2.2.0\n", "smart-open 6.4.0\n", "sniffio 1.3.0\n", "snowballstemmer 2.2.0\n", "sortedcontainers 2.4.0\n", "soundfile 0.12.1\n", "soupsieve 2.5\n", "soxr 0.3.7\n", "spacy 3.6.1\n", "spacy-legacy 3.0.12\n", "spacy-loggers 1.0.5\n", "Sphinx 5.0.2\n", "sphinxcontrib-applehelp 1.0.7\n", "sphinxcontrib-devhelp 1.0.5\n", "sphinxcontrib-htmlhelp 2.0.4\n", "sphinxcontrib-jsmath 1.0.1\n", "sphinxcontrib-qthelp 1.0.6\n", "sphinxcontrib-serializinghtml 1.1.9\n", "SQLAlchemy 2.0.23\n", "sqlglot 17.16.2\n", "sqlparse 0.4.4\n", "srsly 2.4.8\n", "stanio 0.3.0\n", "statsmodels 0.14.0\n", "sympy 1.12\n", "tables 3.8.0\n", "tabulate 0.9.0\n", "tbb 2021.11.0\n", "tblib 3.0.0\n", "tenacity 8.2.3\n", "tensorboard 2.14.1\n", "tensorboard-data-server 0.7.2\n", "tensorflow 2.14.0\n", "tensorflow-datasets 4.9.3\n", "tensorflow-estimator 2.14.0\n", "tensorflow-gcs-config 2.14.0\n", "tensorflow-hub 0.15.0\n", "tensorflow-io-gcs-filesystem 0.34.0\n", "tensorflow-metadata 1.14.0\n", "tensorflow-probability 0.22.0\n", "tensorstore 0.1.45\n", "termcolor 2.3.0\n", "terminado 0.18.0\n", "text-unidecode 1.3\n", "textblob 0.17.1\n", "tf-slim 1.1.0\n", "thinc 8.1.12\n", "threadpoolctl 3.2.0\n", "tifffile 2023.9.26\n", "tinycss2 1.2.1\n", "tokenizers 0.15.0\n", "toml 0.10.2\n", "tomli 2.0.1\n", "toolz 0.12.0\n", "torch 2.1.0+cu118\n", "torchaudio 2.1.0+cu118\n", "torchdata 0.7.0\n", "torchsummary 1.5.1\n", "torchtext 0.16.0\n", "torchvision 0.16.0+cu118\n", "tornado 6.3.2\n", "tqdm 4.66.1\n", "traitlets 5.7.1\n", "traittypes 0.2.1\n", "transformers 4.35.2\n", "triton 2.1.0\n", "tweepy 4.14.0\n", "typer 0.9.0\n", "types-pytz 2023.3.1.1\n", "types-setuptools 69.0.0.0\n", "typing_extensions 4.5.0\n", "tzlocal 5.2\n", "uc-micro-py 1.0.2\n", "uritemplate 4.1.1\n", "urllib3 2.0.7\n", "vega-datasets 0.9.0\n", "wadllib 1.3.6\n", "wasabi 1.1.2\n", "wcwidth 0.2.12\n", "webcolors 1.13\n", "webencodings 0.5.1\n", "websocket-client 1.6.4\n", "Werkzeug 3.0.1\n", "wheel 0.42.0\n", "widgetsnbextension 3.6.6\n", "wordcloud 1.9.2\n", "wrapt 1.14.1\n", "xarray 2023.7.0\n", "xarray-einstats 0.6.0\n", "xgboost 2.0.2\n", "xlrd 2.0.1\n", "xxhash 3.4.1\n", "xyzservices 2023.10.1\n", "yarl 1.9.3\n", "yellowbrick 1.5\n", "yfinance 0.2.32\n", "zict 3.0.0\n", "zipp 3.17.0\n" ] } ], "source": [ "!pip list" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "oohGJpghsGs0" }, "outputs": [], "source": [] } ], "metadata": { "colab": { "provenance": [] }, "kernelspec": { "display_name": "Python 3", "name": "python3" }, "language_info": { "name": "python" } }, "nbformat": 4, "nbformat_minor": 0 }