{"id":18133098,"url":"https://github.com/jeremyfix/deeplearning_demos","last_synced_at":"2025-10-15T09:48:34.411Z","repository":{"id":35859765,"uuid":"219852393","full_name":"jeremyfix/deeplearning_demos","owner":"jeremyfix","description":"Deeplearning demos with remote GPU and TCP client/server","archived":false,"fork":false,"pushed_at":"2024-10-11T05:24:28.000Z","size":197,"stargazers_count":2,"open_issues_count":4,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-20T22:54:53.575Z","etag":null,"topics":["client","deeplearning","demos","server","tcp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeremyfix.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,"zenodo":null}},"created_at":"2019-11-05T21:17:58.000Z","updated_at":"2024-10-10T07:46:36.000Z","dependencies_parsed_at":"2023-10-14T16:40:45.746Z","dependency_job_id":"ab73fe71-6ddb-4352-a90a-949e29362700","html_url":"https://github.com/jeremyfix/deeplearning_demos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jeremyfix/deeplearning_demos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyfix%2Fdeeplearning_demos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyfix%2Fdeeplearning_demos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyfix%2Fdeeplearning_demos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyfix%2Fdeeplearning_demos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeremyfix","download_url":"https://codeload.github.com/jeremyfix/deeplearning_demos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyfix%2Fdeeplearning_demos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279068583,"owners_count":26096526,"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","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["client","deeplearning","demos","server","tcp"],"created_at":"2024-11-01T13:06:54.861Z","updated_at":"2025-10-15T09:48:34.355Z","avatar_url":"https://github.com/jeremyfix.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deep learning demos\n\nIn this repository, you will find some scripts used to perform some deep learning demos. I'm using these scripts to run some deeplearning demos on a remote GPU and feed it with images captured with the webcam on my laptop. This is useful for being able to use the power of GPUs for, say, demos during lectures. If you want to do the same, in addition to the client/server provided here, I'm also using ssh tunneling scripts to forward the ports of the server running on the remote GPU on my localhost with [these scripts](https://github.com/jeremyfix/deeplearning-lectures/tree/master/ClusterScripts).\n\nIf necessary, the client/server handles JPEG compression/decompression. That might be useful for low bandwidth networks. \n\n- [General client/server documentation](#general-clientserver-documentation)\n- [Installation](#installation)\n- [Available demos](#available-demos)\n- [Using a slurm cluster](#using-a-slurm-cluster)\n\n## Acknowledgment\n\nAn early version of these developments have been released within the [FEDER Grone project](https://interreg-grone.eu/)\n\n## General client/server documentation\n\nFor the server, an executable entry point dldemos_server is installed in your PATH.\n\n\t$ dlserver --help\n\n\tusage: dlserver [-h] [--verbose {20,10}] [--port PORT] [--config CONFIG]\n\n\toptions:\n\t  -h, --help         show this help message and exit\n\t  --verbose {20,10}  Verbosity level, INFO(20), DEBUG(10)\n\t  --port PORT        The port on which to listen to an incoming image\n\t  --config CONFIG    The config to load. If you wish to use aconfig provided by the deeplearning_demos package, use --config config://\n\nFor the client, you can also use the installed entry point :\n\t\t\n\t$ dlclient_cli --help\n\n\tusage: dlclient_cli [-h] [--hostname HOSTNAME] [--port PORT] [--device_id DEVICE_ID] [--resize_factor RESIZE_FACTOR]\n\n\toptions:\n\t  -h, --help            show this help message and exit\n\t  --hostname HOSTNAME   The host to connect to\n\t  --port PORT           The port on which to connect\n\t  --device_id DEVICE_ID\n\t\t\t\t\t\t\tThe device id to be used for providing the camera input for opencv\n\t  --resize_factor RESIZE_FACTOR\n\t\t\t\t\t\t\tThe resize factor applied to the grabbed camera before sending\n\n## Installation\n\nFor installing the server, you can either clone the repository or install it directly with pip \n\n```\npython3 -m pip install git+https://github.com/jeremyfix/deeplearning_demos.git#subdirectory=dlserver\n```\n\nFor installing the client, you can proceed the same way :\n```\npython3 -m pip install git+https://github.com/jeremyfix/deeplearning_demos.git#subdirectory=dlclient\n```\n\n## Available demos\n\nThe available demos are provided by a yaml file. The default yaml is provided in `dlserver/configs/default.yaml`. At the time of writting this documentation, it features :\n\n- image classification with MobileNet, trained on ImageNet, as provided by [https://github.com/onnx/models](https://github.com/onnx/models)\n- image classification with Resnet50, trained on ImageNet, as provided by [https://github.com/onnx/models](https://github.com/onnx/models)\n- Object detection with [ultralytics Yolov8n](https://docs.ultralytics.com/tasks/detect/), trained on Coco\n- Object detection + Segmentation with [ultralytics Yolov8n](https://docs.ultralytics.com/tasks/segment/), trained on Coco\n- Text translation English to French with [t5 base from Hugging Face](https://huggingface.co/t5-base)\n- Text translation French to English with [t5 base from Hugging Face](https://huggingface.co/t5-base)\n\n## Using a slurm cluster\n\nWe provide a sbatch file to be run with sbatch on a cluster handled with slurm :\n\n\tsbatch slurm.sbatch\n\nIt will handle the creation of the virtualenv, install the libraries and start the dlserver.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremyfix%2Fdeeplearning_demos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeremyfix%2Fdeeplearning_demos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremyfix%2Fdeeplearning_demos/lists"}