{"id":19198355,"url":"https://github.com/deepvac/mobilenetv3","last_synced_at":"2025-10-06T18:44:05.666Z","repository":{"id":49213096,"uuid":"333698690","full_name":"DeepVAC/MobileNetV3","owner":"DeepVAC","description":"DeepVAC-compliant MobileNetV3 implementation","archived":false,"fork":false,"pushed_at":"2021-06-23T10:24:20.000Z","size":48,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T05:13:39.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/DeepVAC.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}},"created_at":"2021-01-28T08:47:40.000Z","updated_at":"2021-06-23T10:24:23.000Z","dependencies_parsed_at":"2022-09-01T22:02:12.820Z","dependency_job_id":null,"html_url":"https://github.com/DeepVAC/MobileNetV3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DeepVAC/MobileNetV3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepVAC%2FMobileNetV3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepVAC%2FMobileNetV3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepVAC%2FMobileNetV3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepVAC%2FMobileNetV3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeepVAC","download_url":"https://codeload.github.com/DeepVAC/MobileNetV3/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepVAC%2FMobileNetV3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278662108,"owners_count":26024380,"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-06T02:00:05.630Z","response_time":65,"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":[],"created_at":"2024-11-09T12:21:30.826Z","updated_at":"2025-10-06T18:44:05.634Z","avatar_url":"https://github.com/DeepVAC.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MobileNetV3\nDeepVAC-compliant MobileNetV3 implementation\n\n# 简介\n本项目实现了符合DeepVAC规范的MobileNet V3\n\n**项目依赖**\n\n- deepvac \u003e= 0.5.6\n- pytorch \u003e= 1.8.0\n- opencv-python\n- numpy\n\n# 如何运行本项目\n\n## 1. 阅读[DeepVAC规范](https://github.com/DeepVAC/deepvac)\n可以粗略阅读，建立起第一印象。\n\n## 2. 准备运行环境\n使用Deepvac规范指定[Docker镜像](https://github.com/DeepVAC/deepvac#2-%E7%8E%AF%E5%A2%83%E5%87%86%E5%A4%87)\n\n## 3. 准备数据集\n自行准备。\n\n## 4. 修改配置文件\n\n修改config.py文件。主要修改内容：\n- 指定训练集、验证集、测试集的图片目录前缀、对应的标注txt文件和分隔符\n\n```python\n# line 43-45\nfileline_path = 'data/train_cls.txt'\ndelimiter = ' ' \nsample_path_prefix = \u003cyour sample_path_prefix\u003e\n\n# line 69\nfileline_path = 'data/val_cls.txt'\n\n# line 82\nfileline_path = 'data/test_cls.txt'\n```\n\n- 修改分类数\n```\nconfig.core.MobileNetv3Train.cls_num = 4\n```\n\n## 5. 训练\n\n执行命令：\n```bash\npython3 train.py\n```\n\n## 6. 测试\n\n指定要测试模型和测试数据的路径，在config.py指定待测模型和数据路径：\n\n```python\nfileline_path = 'data/test_cls.txt'\nconfig.core.MobileNetv3Test.model_path = \"your test model dir / pretrained weights\"\n```\n\n然后运行测试脚本：\n\n```bash\npython3 test.py\n```\n\n## 7， 更多功能\n如果要在本项目中开启如下功能：\n- 预训练模型加载\n- checkpoint加载\n- 使用tensorboard\n- 启用TorchScript\n- 转换ONNX\n- 转换NCNN\n- 转换CoreML\n- 开启量化\n- 开启自动混合精度训练\n\n请参考[DeepVAC](https://github.com/DeepVAC/deepvac)。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepvac%2Fmobilenetv3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepvac%2Fmobilenetv3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepvac%2Fmobilenetv3/lists"}