{"id":13435460,"url":"https://github.com/thushv89/manning_tf2_in_action","last_synced_at":"2025-03-18T11:31:18.185Z","repository":{"id":38016642,"uuid":"245733010","full_name":"thushv89/manning_tf2_in_action","owner":"thushv89","description":"The official code repository for \"TensorFlow in Action\" by Manning.","archived":false,"fork":false,"pushed_at":"2023-06-12T21:38:54.000Z","size":56963,"stargazers_count":84,"open_issues_count":4,"forks_count":47,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-27T18:57:16.740Z","etag":null,"topics":["computer-vision","deep-learning","machine-learning","nlp","notebook","python","tensorflow","tensorflow2","tf","tf2"],"latest_commit_sha":null,"homepage":"https://www.manning.com/books/tensorflow-in-action","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thushv89.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-08T01:29:43.000Z","updated_at":"2024-10-05T04:07:04.000Z","dependencies_parsed_at":"2024-05-02T03:35:53.096Z","dependency_job_id":"22965a16-2083-41f3-b5ea-a80446d10dc8","html_url":"https://github.com/thushv89/manning_tf2_in_action","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thushv89%2Fmanning_tf2_in_action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thushv89%2Fmanning_tf2_in_action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thushv89%2Fmanning_tf2_in_action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thushv89%2Fmanning_tf2_in_action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thushv89","download_url":"https://codeload.github.com/thushv89/manning_tf2_in_action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244210967,"owners_count":20416561,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["computer-vision","deep-learning","machine-learning","nlp","notebook","python","tensorflow","tensorflow2","tf","tf2"],"created_at":"2024-07-31T03:00:35.885Z","updated_at":"2025-03-18T11:31:13.177Z","avatar_url":"https://github.com/thushv89.png","language":"Jupyter Notebook","funding_links":[],"categories":["Sample Codes / Projects \u003ca name=\"sample\" /\u003e ⛏️📐📁"],"sub_categories":["General 🚧 \u003ca name=\"GeneralCode\" /\u003e"],"readme":"# [TensorFlow in Action](https://www.manning.com/books/tensorflow-in-action?utm_source=thushv\u0026utm_medium=affiliate\u0026utm_campaign=book_ganegedara_tensorflow_10_13_20\u0026a_aid=thushv\u0026a_bid=a9e673f5)\n\nThis project is the code repository for [TensorFlow in Action](https://www.manning.com/books/tensorflow-in-action?utm_source=thushv\u0026utm_medium=affiliate\u0026utm_campaign=book_ganegedara_tensorflow_10_13_20\u0026a_aid=thushv\u0026a_bid=a9e673f5).\n\n**IMPORTANT**: You will need to have [Visual Studio](https://visualstudio.microsoft.com/downloads/) installed. Make sure your installation has Windows SDK\n\n## Video Guides for Installation\n\n* [Windows installation guide on YouTube](https://www.youtube.com/watch?v=FPfH_pM9YXg)\n* [Linux installation guide on YouTube](https://www.youtube.com/watch?v=c-XT7XMmB5o)\n\n## Prerequisites (If you want GPU support)\n\n* Install the latest NVIDIA driver for your GPU from [this page](https://www.nvidia.com/download/index.aspx?lang=en-us)\n* Install CUDA 11.2 (TensorFlow 2.9.1)\n* Setup CuDNN (v8.2 for CUDA 11.2)\n* Make sure your $PATH variable contains the path to the bin folder of cuda (e.g. On Windows - C:\\CUDA\\v11.2\\bin)\n  * On UNIX - Set LD_LIBRARY_PATH to `lib64` folder (e.g. `/usr/local/cuda-11.2/lib64`)\n\n## Creating a Virtual Environment (Anaconda) (Recommended)\n\n* Install Anaconda\n* Open up Anaconda Prompt\n* Setup a conda virtual environment with `conda create -n manning.tf2 python=3.9`\n* Activate the environment with `conda activate manning.tf2`\n* Install the required libraries using `pip install -r requirements.txt`\n\n## Creating a Virtual Environment (virtualenv)\n\n* Install [Python 3.9](https://www.python.org/downloads/release/python-390/) by following instructions on the webpage. Make sure it is added to the PATH variable. \n* To verify the installation of Python3.9, go to the command line terminal and type python and press enter. You should see a message similar to the following.\n\t```\n\tPython 3.9.0 (...) [...] on ...\n\tType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n\t```\n* Type `exit()` to exit the Python interpreter.\n* Run `pip3 install virtualenv` to install Python virtual environment package\n* Go to where you would like the virtual env created (e.g. `cd C:\\Users\\\u003cuser\u003e\\Documents\\code\\python_venvs`) and type `python -m venv manning.tf2`. You should see a directory called `manning.tf2` created in the directory you are in.\n* Now to activate the virtual environment, from the directory you were originally in (e.g. `C:\\Users\\\u003cuser\u003e\\Documents\\code\\python_venvs`), \n\t* On Windows - Run `manning.tf2\\Scripts\\activate.bat`\n\t* On UNIX - Run `source manning.tf2\\bin\\activate`\n* If successfully activated, you should see a `(manning.tf2)` in front of the normal prompt you get in the command line interface (CLI).\n* Now run `pip install -r requirements.txt` to install all the necessary packages\n\nTutorial on virtual environments: [Here](https://docs.python.org/3/tutorial/venv.html)\n\n## Important notes\n\n* For some plotting capability provided in TensorFlow/Keras, you have installed a Python package called `graphviz` ([Installation](https://graphviz.gitlab.io/download/) instructions). Make sure you add it to your `$PATH` variable.\n\n## Getting Jupyter Notebook server up\n\nNow you are ready to run the Jupyter notebook server, allowing you to run the notebooks provided in the code repository.\n\n* Open up the command line terminal and activate the virtual environment `manning.tf2` if you haven't already\n* Go in to the directory you downloaded code to using `cd` in the CLI (e.g. `cd C:\\Users\\\u003cuser\u003e\\Documents\\code\\manning_tf2_in_action`)\n* Run `jupyter notebook` in the CLI\n* This should open up the jupyter notebook server's landing page on your default browser\n* Now you can navigate the folder structure within that directory, open any notebook and run it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthushv89%2Fmanning_tf2_in_action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthushv89%2Fmanning_tf2_in_action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthushv89%2Fmanning_tf2_in_action/lists"}