{"id":19794530,"url":"https://github.com/shuai-xie/asm_web","last_synced_at":"2026-04-12T22:04:30.585Z","repository":{"id":39730258,"uuid":"241558816","full_name":"Shuai-Xie/ASM_web","owner":"Shuai-Xie","description":"ASM web inferface","archived":false,"fork":false,"pushed_at":"2023-05-01T21:20:28.000Z","size":839,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T04:44:09.165Z","etag":null,"topics":["active-learning","detection","flask"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Shuai-Xie.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-02-19T07:25:18.000Z","updated_at":"2020-06-10T12:11:04.000Z","dependencies_parsed_at":"2025-01-11T04:43:27.369Z","dependency_job_id":"863b7ee9-03b5-4c67-9549-10cda6ef5a2e","html_url":"https://github.com/Shuai-Xie/ASM_web","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/Shuai-Xie%2FASM_web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shuai-Xie%2FASM_web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shuai-Xie%2FASM_web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shuai-Xie%2FASM_web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shuai-Xie","download_url":"https://codeload.github.com/Shuai-Xie/ASM_web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241136776,"owners_count":19915991,"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":["active-learning","detection","flask"],"created_at":"2024-11-12T07:13:31.088Z","updated_at":"2025-11-06T08:03:29.183Z","avatar_url":"https://github.com/Shuai-Xie.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ASM_web\n\nFlask Web demo with [ASM_core](https://github.com/Shuai-Xie/ASM_core).\n\n## Features\n\nASM steps with Dataturks.\n\n**1. auto_label()**\n\n- update `d_hits.status` by ASM detection results.\n\n```py\n# update image status in Dataturks d_hits table\nstatus = 'sl' if len(sl_boxes) \u003e 0 else 'al'\n\n# store all the sl anns, to compute AL ratio in start_train() \nglobal sl_anns = []\n```\n\n**2. Human annotation in Dataturks Hits Done, filter by SL/AL status.**\n\n**3. start_train()**\n\n- read `gt SL/AL anns` from mysql\n- compute AL ratio by `sl_anns` and `gt_sl_anns`\n- choose topK and build `asm_train_anns`\n- train on the new dataset\n\n```py\n# 从数据库查询 3 种不同 status 标注\ngt_sl_anns = get_gt_anns_from_sql(dataset, names2class, status='sl')\ngt_al_anns = get_gt_anns_from_sql(dataset, names2class, status='al')\nlabel_anns = get_gt_anns_from_sql(dataset, names2class, status='done') \n```\n\n## Architecture\n\n\u003cimg src=\"https://edrawcloudpubliccn.oss-cn-shenzhen.aliyuncs.com/viewer/self/1573941/share/2020-2-20/1582194045/main.svg\"\u003e\u003c/img\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuai-xie%2Fasm_web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshuai-xie%2Fasm_web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuai-xie%2Fasm_web/lists"}