{"id":22929940,"url":"https://github.com/genocs/tensorflow-v2","last_synced_at":"2026-05-09T14:36:19.229Z","repository":{"id":38382573,"uuid":"254874435","full_name":"Genocs/tensorflow-v2","owner":"Genocs","description":"Simple tensorflow 2.x easy to use list of activities","archived":false,"fork":false,"pushed_at":"2023-10-04T00:57:46.000Z","size":15112,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-07T10:52:35.642Z","etag":null,"topics":["python","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Genocs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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},"funding":{"open_collective":"genocs","custom":["https://www.buymeacoffee.com/genocs"]}},"created_at":"2020-04-11T13:32:22.000Z","updated_at":"2025-01-01T18:26:33.000Z","dependencies_parsed_at":"2025-02-07T11:02:19.771Z","dependency_job_id":null,"html_url":"https://github.com/Genocs/tensorflow-v2","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/Genocs%2Ftensorflow-v2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genocs%2Ftensorflow-v2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genocs%2Ftensorflow-v2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genocs%2Ftensorflow-v2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Genocs","download_url":"https://codeload.github.com/Genocs/tensorflow-v2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246672963,"owners_count":20815484,"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":["python","tensorflow"],"created_at":"2024-12-14T10:19:46.137Z","updated_at":"2026-05-09T14:36:19.177Z","avatar_url":"https://github.com/Genocs.png","language":"Jupyter Notebook","funding_links":["https://opencollective.com/genocs","https://www.buymeacoffee.com/genocs"],"categories":[],"sub_categories":[],"readme":"# tensorflow-v2\n\nThis repo is a Tensorflow course starting from scratch. The ***inspiration*** coming from awesome guys to whom I say thanks a lot.\n\u003e - [AntonMu](https://github.com/AntonMu/TrainYourOwnYOLO)\n\u003e - [Aymeric Damien](https://github.com/aymericdamien)\n\u003e - [YunYang1994](https://github.com/YunYang1994)\n\u003e - [zzh8829](https://github.com/zzh8829)\n\u003e - [Anton Mu](https://github.com/AntonMu)\n\n\n\n## Prerequisites\n\nPython environment is required and correctly configured in order o use these exercises.\n\nPlease check:\n* [Anaconda](https://www.continuum.io).\n* [Nvidia Cuda 10.1](https://developer.nvidia.com/cuda-10.1-download-archive-base)\n* [Google TensorFlow 2.0](https://www.tensorflow.org/)\n* [Keras](https://keras.io/)\n\n\n## Guides\n[tflearn](http://tflearn.org)\n\n\n## Example and Tutorials\n\n* Git Tensorflow\n\u003e - [Aymeric Damien](https://github.com/aymericdamien)\n\u003e - [YunYang1994 Examples](https://github.com/YunYang1994/TensorFlow2.0-Examples)\n\n\n* Tensorflow Yolo v3\n\u003e - [zzh8829](https://github.com/zzh8829/yolov3-tf2)\n\u003e - [YunYang1994 yolov3](https://github.com/YunYang1994/tensorflow-yolov3)\n\n\n## Contents\n\n#### 1 - Introduction\n- **01-helloworld.py**: It is a simple check to evaluate if Tensorflow is correctly installed.\n- **02-helloworld-gpu.py**: Same as the item above but checking the GPU support (Nvidia Cuda GPU is required).\n- **03-constants.py**: Basic example about Tensorflow tensors. Simple Linear Algebra ops are executed as well.\n\n#### 2 - Keras - The models\n- **04-linear-model.py**: The basic linear model.\n- **05-tensorboard.py**: How write trace to Tensorboard.\n- **06-load-traininset.py**: Load the trainingset data from csv file.\n- **07-save-weights.py**: How to save the training weights and load it when available.\n- **08-use-model-class.py**: Complete example to training, save the weights and load it if present.\n\n#### 3 - Standard Datasets\n- **09-mnist-dataset.py**: The helloworld MINIST dataset.\n- **10-cifar-dataset.py**: The CIFAR-10 dataset.\n\n#### 4 - Images Datasets\n- **11-images-dataset.py**: Run CNN on images classified by folder name.\n- **12-images-dataset-cache.py**: Same as the above test!!!\n- **13-images-dataset-local.py**: Same as the above but from local folder\n- **14-convert-to-tensorflow-lite.py**: Convert the model to tensorflow lite model available to be used on mobile device\n\n\n\n## How to install from scratch\n\nNvidia GPU support\nCUDA Toolkit 11.6 Update 1 Downloads cuda_11.6.0_511.23_windows\nDownload cuDNN v8.3.2 (January 26th, 2021), for CUDA 11.0,11.1 and 11.2 cudnn-windows-x86_64-8.3.2.44_cuda11.5-archive\n\npython-3.9.7.exe (DO not use python-3.8.5.exe)\n\n- Check Nvidia cuda version\n``` sh\nnvcc --version\n```\nChecked version:\nnvcc: NVIDIA (R) Cuda compiler driver\nCopyright (c) 2005-2021 NVIDIA Corporation\nBuilt on Fri_Dec_17_18:28:54_Pacific_Standard_Time_2021\nCuda compilation tools, release 11.6, V11.6.55\nBuild cuda_11.6.r11.6/compiler.30794723_0\n\n\n## Preliminary checks\n``` sh\npython --version\nconda --version\npip3 --version\n\n# Checked version:\nPython 3.9 (3.9.7)\nconda 4.10.3\npip 22.0.3\n```\n\n- Create a log folder like **c:\\log**\n\n- Create the conda environment\n``` sh\nconda create --name tensorflow python=3.9\nconda activate tensorflow\nconda install git\npython -m pip install --upgrade pip\npip install -r requirements.txt\n```\n\n- Run tensorboard\n``` sh\n(tensorflow) tensorboard --logdir=c:\\log --port 6006\n```\n\nOpen a web browser\nhttp://localhost:6006\n\n\n# Tips and Tricks\nRun following commands before run jupyter at \nhttps://github.com/tensorflow/models\n\nhttps://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md\n\n``` sh\nconda install git\npip3 install \"git+https://github.com/philferriere/cocoapi.git#egg=pycocotools\u0026subdirectory=PythonAPI\"\n```\n\n# How to use AWS EC2 intances\n\nConnect to AWS\nSelect the environment \nUpdate the system and clone the repo \n``` sh\nsudo apt-get update\ngit clone https://github.com/AntonMu/TrainYourOwnYOLO.git\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenocs%2Ftensorflow-v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgenocs%2Ftensorflow-v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenocs%2Ftensorflow-v2/lists"}