{"id":26562649,"url":"https://github.com/331dala/potato_proj","last_synced_at":"2026-04-13T14:31:32.055Z","repository":{"id":282257068,"uuid":"947990891","full_name":"331Dala/potato_proj","owner":"331Dala","description":"A ML project detect the potato early blight and late blight disease.","archived":false,"fork":false,"pushed_at":"2025-03-20T17:33:54.000Z","size":48695,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T18:32:48.995Z","etag":null,"topics":["deep-learning","docker","fastapi","machine-learning","nodejs","python","reactjs","tensorflow","tensorflowserving"],"latest_commit_sha":null,"homepage":"","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/331Dala.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":"2025-03-13T15:12:24.000Z","updated_at":"2025-03-20T17:33:58.000Z","dependencies_parsed_at":"2025-03-13T16:27:13.667Z","dependency_job_id":"c47678bc-a6bd-46ff-aa54-e23d9f482c67","html_url":"https://github.com/331Dala/potato_proj","commit_stats":null,"previous_names":["331dala/potato_proj"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/331Dala%2Fpotato_proj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/331Dala%2Fpotato_proj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/331Dala%2Fpotato_proj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/331Dala%2Fpotato_proj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/331Dala","download_url":"https://codeload.github.com/331Dala/potato_proj/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244973809,"owners_count":20541025,"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":["deep-learning","docker","fastapi","machine-learning","nodejs","python","reactjs","tensorflow","tensorflowserving"],"created_at":"2025-03-22T15:18:30.045Z","updated_at":"2026-04-13T14:31:32.046Z","avatar_url":"https://github.com/331Dala.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# potato_proj🥔  \nA ML project detect the 💉potato early blight and late blight disease.  \n🤖\n\nDataset：  \nhttps://www.kaggle.com/datasets/arjuntejaswi/plant-village?resource=download  \n\nsystem: windows10 (with **cuda11.3**)\n\n## problems \u0026 solutions\n\n- python version higher than **python3.9**, can't find **tensorflow2.5**.  \n(some version of tensorflow didn't have tensorflow.keras.layers.experimental.)\n\n- when install pakages, notice the **compatibility** of dependencies and packages.  \nUse commands like `pip check`.   \n\n- Encounter cuda problem, when training model.   \nGet hint from notebook Browser userInterface:\n`Kernel Restarting The kernel for training/training.ipynb appears to have died.It will restart automatically.`\nif without any hints else,\ntry to check the notebook running logs, in CLI, find massage like:\n`Could not locate zlibwapi.dll. Please make sure it is in your library path`\nso we try to find zlibwapi.dll. From NVIDIA official website below, I get some clues.  \nhttps://forums.developer.nvidia.com/t/zlib-dll-for-latest-cudnn-in-official-install-guide-is-missing/197630/6  \nIf you can't find file zlibwapi.dll from where they find zlibwapi.dll file directories.\nTry to search all the C desk ,u will find a lot of zlibwapi.dll file.\ncopy any one of them paste it to your directory like `C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.3\\bin`.\nthen, restart your kernel try to train again.  \n\n- Working on **FastAPI** error below occur.  \nImportError: cannot import name 'ParamSpec' from 'typing_extensions'.  \nTry ```pip uninstall fastapi```and```\npip install --no-cache fastapi```.  \n\n- Docker problems maybe due to the ports num, typos like me \n  **8501:8501\\-\\-\u003e8501:8051**  \n  😫😫😫\n\n# Start Step \u0026 Structure\n(Here use **Jupyter** with `python -m notebook` in folder `/training`)  \ntf dataset  \nData augmentation(1.keras.layers.experimental.preprocessing \u0026 2.ImageDataGenerator api)  \n↓  \nCNN (cache|prefetch)  \n↓  \n(from here I use **pycharm** in folder `/api`)\nDeployed via tf-serving in Docker to FastAPI.    \nrun main-tf-serving.py,  \nopen Docker run with:  \n``` PowerShell\ndocker run --rm -it -p 8502:8502 -v D:/ml_workspace/potato_proj:/potato_proj tensorflow/serving --rest_api_port=8502 --model_config_file=/potato_proj/models.config\n``` \nYou can test with Postman.  \n↓  \n(Here I use VSCode for Frontend and PyCharm for Backend)\nReact JS (Build UI and interact with)  \nNode.js (JavaScript running env)\nrun Node.js in folder /frontend with:  \n```Bash\nnpm run start\n```  \nThen run the `/api/main.py` in VSCode\n↓  \nGCP  \n↓  \nReact Native (mobile application, get stuck here, will do it afterward)  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F331dala%2Fpotato_proj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F331dala%2Fpotato_proj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F331dala%2Fpotato_proj/lists"}