[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-MarvinTeichmann--KittiSeg":3,"tool-MarvinTeichmann--KittiSeg":64},[4,17,27,35,43,56],{"id":5,"name":6,"github_repo":7,"description_zh":8,"stars":9,"difficulty_score":10,"last_commit_at":11,"category_tags":12,"status":16},3808,"stable-diffusion-webui","AUTOMATIC1111\u002Fstable-diffusion-webui","stable-diffusion-webui 是一个基于 Gradio 构建的网页版操作界面，旨在让用户能够轻松地在本地运行和使用强大的 Stable Diffusion 图像生成模型。它解决了原始模型依赖命令行、操作门槛高且功能分散的痛点，将复杂的 AI 绘图流程整合进一个直观易用的图形化平台。\n\n无论是希望快速上手的普通创作者、需要精细控制画面细节的设计师，还是想要深入探索模型潜力的开发者与研究人员，都能从中获益。其核心亮点在于极高的功能丰富度：不仅支持文生图、图生图、局部重绘（Inpainting）和外绘（Outpainting）等基础模式，还独创了注意力机制调整、提示词矩阵、负向提示词以及“高清修复”等高级功能。此外，它内置了 GFPGAN 和 CodeFormer 等人脸修复工具，支持多种神经网络放大算法，并允许用户通过插件系统无限扩展能力。即使是显存有限的设备，stable-diffusion-webui 也提供了相应的优化选项，让高质量的 AI 艺术创作变得触手可及。",162132,3,"2026-04-05T11:01:52",[13,14,15],"开发框架","图像","Agent","ready",{"id":18,"name":19,"github_repo":20,"description_zh":21,"stars":22,"difficulty_score":23,"last_commit_at":24,"category_tags":25,"status":16},1381,"everything-claude-code","affaan-m\u002Feverything-claude-code","everything-claude-code 是一套专为 AI 编程助手（如 Claude Code、Codex、Cursor 等）打造的高性能优化系统。它不仅仅是一组配置文件，而是一个经过长期实战打磨的完整框架，旨在解决 AI 代理在实际开发中面临的效率低下、记忆丢失、安全隐患及缺乏持续学习能力等核心痛点。\n\n通过引入技能模块化、直觉增强、记忆持久化机制以及内置的安全扫描功能，everything-claude-code 能显著提升 AI 在复杂任务中的表现，帮助开发者构建更稳定、更智能的生产级 AI 代理。其独特的“研究优先”开发理念和针对 Token 消耗的优化策略，使得模型响应更快、成本更低，同时有效防御潜在的攻击向量。\n\n这套工具特别适合软件开发者、AI 研究人员以及希望深度定制 AI 工作流的技术团队使用。无论您是在构建大型代码库，还是需要 AI 协助进行安全审计与自动化测试，everything-claude-code 都能提供强大的底层支持。作为一个曾荣获 Anthropic 黑客大奖的开源项目，它融合了多语言支持与丰富的实战钩子（hooks），让 AI 真正成长为懂上",140436,2,"2026-04-05T23:32:43",[13,15,26],"语言模型",{"id":28,"name":29,"github_repo":30,"description_zh":31,"stars":32,"difficulty_score":23,"last_commit_at":33,"category_tags":34,"status":16},2271,"ComfyUI","Comfy-Org\u002FComfyUI","ComfyUI 是一款功能强大且高度模块化的视觉 AI 引擎，专为设计和执行复杂的 Stable Diffusion 图像生成流程而打造。它摒弃了传统的代码编写模式，采用直观的节点式流程图界面，让用户通过连接不同的功能模块即可构建个性化的生成管线。\n\n这一设计巧妙解决了高级 AI 绘图工作流配置复杂、灵活性不足的痛点。用户无需具备编程背景，也能自由组合模型、调整参数并实时预览效果，轻松实现从基础文生图到多步骤高清修复等各类复杂任务。ComfyUI 拥有极佳的兼容性，不仅支持 Windows、macOS 和 Linux 全平台，还广泛适配 NVIDIA、AMD、Intel 及苹果 Silicon 等多种硬件架构，并率先支持 SDXL、Flux、SD3 等前沿模型。\n\n无论是希望深入探索算法潜力的研究人员和开发者，还是追求极致创作自由度的设计师与资深 AI 绘画爱好者，ComfyUI 都能提供强大的支持。其独特的模块化架构允许社区不断扩展新功能，使其成为当前最灵活、生态最丰富的开源扩散模型工具之一，帮助用户将创意高效转化为现实。",107662,"2026-04-03T11:11:01",[13,14,15],{"id":36,"name":37,"github_repo":38,"description_zh":39,"stars":40,"difficulty_score":23,"last_commit_at":41,"category_tags":42,"status":16},3704,"NextChat","ChatGPTNextWeb\u002FNextChat","NextChat 是一款轻量且极速的 AI 助手，旨在为用户提供流畅、跨平台的大模型交互体验。它完美解决了用户在多设备间切换时难以保持对话连续性，以及面对众多 AI 模型不知如何统一管理的痛点。无论是日常办公、学习辅助还是创意激发，NextChat 都能让用户随时随地通过网页、iOS、Android、Windows、MacOS 或 Linux 端无缝接入智能服务。\n\n这款工具非常适合普通用户、学生、职场人士以及需要私有化部署的企业团队使用。对于开发者而言，它也提供了便捷的自托管方案，支持一键部署到 Vercel 或 Zeabur 等平台。\n\nNextChat 的核心亮点在于其广泛的模型兼容性，原生支持 Claude、DeepSeek、GPT-4 及 Gemini Pro 等主流大模型，让用户在一个界面即可自由切换不同 AI 能力。此外，它还率先支持 MCP（Model Context Protocol）协议，增强了上下文处理能力。针对企业用户，NextChat 提供专业版解决方案，具备品牌定制、细粒度权限控制、内部知识库整合及安全审计等功能，满足公司对数据隐私和个性化管理的高标准要求。",87618,"2026-04-05T07:20:52",[13,26],{"id":44,"name":45,"github_repo":46,"description_zh":47,"stars":48,"difficulty_score":23,"last_commit_at":49,"category_tags":50,"status":16},2268,"ML-For-Beginners","microsoft\u002FML-For-Beginners","ML-For-Beginners 是由微软推出的一套系统化机器学习入门课程，旨在帮助零基础用户轻松掌握经典机器学习知识。这套课程将学习路径规划为 12 周，包含 26 节精炼课程和 52 道配套测验，内容涵盖从基础概念到实际应用的完整流程，有效解决了初学者面对庞大知识体系时无从下手、缺乏结构化指导的痛点。\n\n无论是希望转型的开发者、需要补充算法背景的研究人员，还是对人工智能充满好奇的普通爱好者，都能从中受益。课程不仅提供了清晰的理论讲解，还强调动手实践，让用户在循序渐进中建立扎实的技能基础。其独特的亮点在于强大的多语言支持，通过自动化机制提供了包括简体中文在内的 50 多种语言版本，极大地降低了全球不同背景用户的学习门槛。此外，项目采用开源协作模式，社区活跃且内容持续更新，确保学习者能获取前沿且准确的技术资讯。如果你正寻找一条清晰、友好且专业的机器学习入门之路，ML-For-Beginners 将是理想的起点。",84991,"2026-04-05T10:45:23",[14,51,52,53,15,54,26,13,55],"数据工具","视频","插件","其他","音频",{"id":57,"name":58,"github_repo":59,"description_zh":60,"stars":61,"difficulty_score":10,"last_commit_at":62,"category_tags":63,"status":16},3128,"ragflow","infiniflow\u002Fragflow","RAGFlow 是一款领先的开源检索增强生成（RAG）引擎，旨在为大语言模型构建更精准、可靠的上下文层。它巧妙地将前沿的 RAG 技术与智能体（Agent）能力相结合，不仅支持从各类文档中高效提取知识，还能让模型基于这些知识进行逻辑推理和任务执行。\n\n在大模型应用中，幻觉问题和知识滞后是常见痛点。RAGFlow 通过深度解析复杂文档结构（如表格、图表及混合排版），显著提升了信息检索的准确度，从而有效减少模型“胡编乱造”的现象，确保回答既有据可依又具备时效性。其内置的智能体机制更进一步，使系统不仅能回答问题，还能自主规划步骤解决复杂问题。\n\n这款工具特别适合开发者、企业技术团队以及 AI 研究人员使用。无论是希望快速搭建私有知识库问答系统，还是致力于探索大模型在垂直领域落地的创新者，都能从中受益。RAGFlow 提供了可视化的工作流编排界面和灵活的 API 接口，既降低了非算法背景用户的上手门槛，也满足了专业开发者对系统深度定制的需求。作为基于 Apache 2.0 协议开源的项目，它正成为连接通用大模型与行业专有知识之间的重要桥梁。",77062,"2026-04-04T04:44:48",[15,14,13,26,54],{"id":65,"github_repo":66,"name":67,"description_en":68,"description_zh":69,"ai_summary_zh":69,"readme_en":70,"readme_zh":71,"quickstart_zh":72,"use_case_zh":73,"hero_image_url":74,"owner_login":75,"owner_name":76,"owner_avatar_url":77,"owner_bio":78,"owner_company":79,"owner_location":80,"owner_email":81,"owner_twitter":82,"owner_website":82,"owner_url":83,"languages":84,"stars":89,"forks":90,"last_commit_at":91,"license":92,"difficulty_score":93,"env_os":94,"env_gpu":95,"env_ram":94,"env_deps":96,"category_tags":106,"github_topics":107,"view_count":23,"oss_zip_url":82,"oss_zip_packed_at":82,"status":16,"created_at":115,"updated_at":116,"faqs":117,"releases":147},2108,"MarvinTeichmann\u002FKittiSeg","KittiSeg","A Kitti Road Segmentation model implemented in tensorflow.","KittiSeg 是一款基于 TensorFlow 开发的开源道路分割模型，专为自动驾驶场景中的路面识别任务设计。它利用全卷积神经网络（FCN）技术，能够精准地从复杂街景图像中分离出可行驶区域，有效解决了车辆在非结构化道路上判断通行路径的难题。\n\n该工具最显著的技术亮点在于其卓越的数据效率与推理速度。即便仅使用 250 张密集标注的图片进行训练，KittiSeg 仍能在 KITTI 道路检测基准测试中取得超过 96% 的 MaxF1 分数，曾位居榜单首位。同时，其单张图片推理耗时仅为 95 毫秒，完全满足实时应用的需求。此外，项目架构兼容 TensorVision 后端，便于研究人员整洁地管理实验流程，并支持与目标检测等任务联合训练。\n\nKittiSeg 主要面向计算机视觉领域的研究人员、算法工程师及自动驾驶开发者。对于希望在小样本数据集上复现高精度分割效果，或需要构建实时路况感知系统的团队而言，这是一个极具参考价值的基准模型。无论是用于学术研究对比，还是作为实际工程项目的起点，KittiSeg 都提供了完善的训练、评估及可视化代码支持。","# KittiSeg\n\nKittiSeg performs segmentation of roads by utilizing an FCN based model. The model achieved [first place](http:\u002F\u002Fwww.cvlibs.net\u002Fdatasets\u002Fkitti\u002Feval_road_detail.php?result=ca96b8137feb7a636f3d774c408b1243d8a6e0df) on the Kitti Road Detection Benchmark at submission time. Check out our [paper](https:\u002F\u002Farxiv.org\u002Fabs\u002F1612.07695) for a detailed model description.\n\n\u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FMarvinTeichmann_KittiSeg_readme_0f59213c5341.png\" width=\"288\"> \u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FMarvinTeichmann_KittiSeg_readme_e28b7e7773f5.png\" width=\"288\"> \u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FMarvinTeichmann_KittiSeg_readme_48f7f56cf602.png\" width=\"288\"> \n\n\u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FMarvinTeichmann_KittiSeg_readme_4c84b7955315.png\" width=\"288\"> \u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FMarvinTeichmann_KittiSeg_readme_5c9db714964e.png\" width=\"288\"> \u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FMarvinTeichmann_KittiSeg_readme_26095cee74a0.png\" width=\"288\"> \n\nThe model is designed to perform well on small datasets. The training is done using just *250* densely labelled images. Despite this a state-of-the art MaxF1 score of over *96%* is achieved. The model is usable for real-time application. Inference can be performed at the impressive speed of *95ms* per image.\n\nThe repository contains code for training, evaluating and visualizing semantic segmentation in TensorFlow. It is build to be compatible with the [TensorVision](http:\u002F\u002Ftensorvision.readthedocs.io\u002Fen\u002Fmaster\u002Fuser\u002Ftutorial.html#workflow) back end which allows to organize experiments in a very clean way. Also check out [KittiBox](https:\u002F\u002Fgithub.com\u002FMarvinTeichmann\u002FKittiBox#kittibox) a similar projects to perform state-of-the art detection. And finally the [MultiNet](https:\u002F\u002Fgithub.com\u002FMarvinTeichmann\u002FMultiNet) repository contains code to jointly train segmentation, classification and detection. KittiSeg and KittiBox are utilized as submodules in MultiNet.\n\n\n## Requirements\n\nThe code requires [Tensorflow 1.0](https:\u002F\u002Fwww.tensorflow.org\u002Finstall\u002F), python 2.7 as well as the following python libraries: \n\n* matplotlib\n* numpy\n* Pillow\n* scipy\n* commentjson\n\nThose modules can be installed using: `pip install numpy scipy pillow matplotlib commentjson` or `pip install -r requirements.txt`.\n\n\n## Setup\n\n1. Clone this repository: `git clone https:\u002F\u002Fgithub.com\u002FMarvinTeichmann\u002FKittiSeg.git`\n2. Initialize all submodules: `git submodule update --init --recursive`\n3. [Optional] Download Kitti Road Data:\n    1. Retrieve kitti data url here: [http:\u002F\u002Fwww.cvlibs.net\u002Fdownload.php?file=data_road.zip](http:\u002F\u002Fwww.cvlibs.net\u002Fdownload.php?file=data_road.zip)\n    2. Call `python download_data.py --kitti_url URL_YOU_RETRIEVED`\n    \nRunning the model using `demo.py` does not require you to download kitti data (step 3). Step 3 is only required if you want to train your own model using `train.py` or bench a model agains the official evaluation score `evaluate.py`. Also note, that I recommend using `download_data.py` instead of downloading the data yourself. The script will also extract and prepare the data. See Section [Manage data storage](README.md#manage-data-storage) if you like to control where the data is stored.\n\n##### To update an existing installation do:\n\n1. Pull all patches: `git pull`\n2. Update all submodules: `git submodule update --init --recursive`\n\nIf you forget the second step you might end up with an inconstant repository state. You will already have the new code for KittiSeg but run it old submodule versions code. This can work, but I do not run any tests to verify this.\n\n## Tutorial\n\n### Getting started\n\nRun: `python demo.py --input_image data\u002Fdemo\u002Fdemo.png` to obtain a prediction using [demo.png](data\u002F\u002Fdemo\u002Fdemo.png) as input.\n\nRun: `python evaluate.py` to evaluate a trained model. \n\nRun: `python train.py --hypes hypes\u002FKittiSeg.json` to train a model using Kitti Data.\n\nIf you like to understand the code, I would recommend looking at [demo.py](demo.py) first. I have documented each step as  \tthoroughly as possible in this file.\n\n\n### Manage Data Storage\n\nKittiSeg allows to separate data storage from code. This is very useful in many server environments. By default, the data is stored in the folder `KittiSeg\u002FDATA` and the output of runs in `KittiSeg\u002FRUNS`. This behaviour can be changed by setting the bash environment variables: `$TV_DIR_DATA` and `$TV_DIR_RUNS`.\n\nInclude  `export TV_DIR_DATA=\"\u002FMY\u002FLARGE\u002FHDD\u002FDATA\"` in your `.profile` and the all data will be downloaded to `\u002FMY\u002FLARGE\u002FHDD\u002FDATA\u002Fdata_road`. Include `export TV_DIR_RUNS=\"\u002FMY\u002FLARGE\u002FHDD\u002FRUNS\"` in your `.profile` and all runs will be saved to `\u002FMY\u002FLARGE\u002FHDD\u002FRUNS\u002FKittiSeg`\n\n### RUNDIR and Experiment Organization\n\nKittiSeg helps you to organize large number of experiments. To do so the output of each run is stored in its own rundir. Each rundir contains:\n\n* `output.log` a copy of the training output which was printed to your screen\n* `tensorflow events` tensorboard can be run in rundir\n* `tensorflow checkpoints` the trained model can be loaded from rundir\n* `[dir] images` a folder containing example output images. `image_iter` controls how often the whole validation set is dumped\n* `[dir] model_files` A copy of all source code need to build the model. This can be very useful of you have many versions of the model.\n\nTo keep track of all the experiments, you can give each rundir a unique name with the `--name` flag. The `--project` flag will store the run in a separate subfolder allowing to run different series of experiments. As an example, `python train.py --project batch_size_bench --name size_5` will use the following dir as rundir:  `$TV_DIR_RUNS\u002FKittiSeg\u002Fbatch_size_bench\u002Fsize_5_KittiSeg_2017_02_08_13.12`.\n\nThe flag `--nosave` is very useful to not spam your rundir.\n\n### Modifying Model & Train on your own data\n\nThe model is controlled by the file `hypes\u002FKittiSeg.json`. Modifying this file should be enough to train the model on your own data and adjust the architecture according to your needs. A description of the expected input format can be found [here](docu\u002Finputs.md).\n\n\nFor advanced modifications, the code is controlled by 5 different modules, which are specified in `hypes\u002FKittiSeg.json`.\n\n```\n\"model\": {\n   \"input_file\": \"..\u002Finputs\u002Fkitti_seg_input.py\",\n   \"architecture_file\" : \"..\u002Fencoder\u002Ffcn8_vgg.py\",\n   \"objective_file\" : \"..\u002Fdecoder\u002Fkitti_multiloss.py\",\n   \"optimizer_file\" : \"..\u002Foptimizer\u002Fgeneric_optimizer.py\",\n   \"evaluator_file\" : \"..\u002Fevals\u002Fkitti_eval.py\"\n},\n```\n\nThose modules operate independently. This allows easy experiments with different datasets (`input_file`), encoder networks (`architecture_file`), etc. Also see [TensorVision](http:\u002F\u002Ftensorvision.readthedocs.io\u002Fen\u002Fmaster\u002Fuser\u002Ftutorial.html#workflow) for a specification of each of those files.\n\n\n\n\n\n## Utilize TensorVision backend\n\nKittiSeg is build on top of the TensorVision [TensorVision](https:\u002F\u002Fgithub.com\u002FTensorVision\u002FTensorVision) backend. TensorVision modularizes computer vision training and helps organizing experiments. \n\n\nTo utilize the entire TensorVision functionality install it using \n\n`$ cd KittiSeg\u002Fsubmodules\u002FTensorVision` \u003Cbr>\n`$ python setup.py install`\n\nNow you can use the TensorVision command line tools, which includes:\n\n`tv-train --hypes hypes\u002FKittiSeg.json` trains a json model. \u003Cbr>\n`tv-continue --logdir PATH\u002FTO\u002FRUNDIR` trains the model in RUNDIR, starting from the last saved checkpoint. Can be used for fine tuning by increasing `max_steps` in `model_files\u002Fhypes.json` .\u003Cbr>\n`tv-analyze --logdir PATH\u002FTO\u002FRUNDIR` evaluates the model in RUNDIR \u003Cbr>\n\n\n## Useful Flags & Variabels\n\nHere are some Flags which will be useful when working with KittiSeg and TensorVision. All flags are available across all scripts. \n\n`--hypes` : specify which hype-file to use \u003Cbr>\n`--logdir` : specify which logdir to use \u003Cbr>\n`--gpus` : specify on which GPUs to run the code \u003Cbr>\n`--name` : assign a name to the run \u003Cbr>\n`--project` : assign a project to the run \u003Cbr>\n`--nosave` : debug run, logdir will be set to `debug` \u003Cbr>\n\nIn addition the following TensorVision environment Variables will be useful:\n\n`$TV_DIR_DATA`: specify meta directory for data \u003Cbr>\n`$TV_DIR_RUNS`: specify meta directory for output \u003Cbr>\n`$TV_USE_GPUS`: specify default GPU behaviour. \u003Cbr>\n\nOn a cluster it is useful to set `$TV_USE_GPUS=force`. This will make the flag `--gpus` mandatory and ensure, that run will be executed on the right GPU.\n\n## Questions?\n\nPlease have a look into the [FAQ](docu\u002FFAQ.md). Also feel free to open an issue to discuss any questions not covered so far. \n\n# Citation\n\nIf you benefit from this code, please cite our paper:\n\n```\n@article{teichmann2016multinet,\n  title={MultiNet: Real-time Joint Semantic Reasoning for Autonomous Driving},\n  author={Teichmann, Marvin and Weber, Michael and Zoellner, Marius and Cipolla, Roberto and Urtasun, Raquel},\n  journal={arXiv preprint arXiv:1612.07695},\n  year={2016}\n}\n```\n\n","# KittiSeg\n\nKittiSeg 使用基于 FCN 的模型对道路进行分割。在提交时，该模型在 KITTI 道路检测基准测试中获得了[第一名](http:\u002F\u002Fwww.cvlibs.net\u002Fdatasets\u002Fkitti\u002Feval_road_detail.php?result=ca96b8137feb7a636f3d774c408b1243d8a6e0df)。有关模型的详细说明，请参阅我们的[论文](https:\u002F\u002Farxiv.org\u002Fabs\u002F1612.07695)。\n\n\u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FMarvinTeichmann_KittiSeg_readme_0f59213c5341.png\" width=\"288\"> \u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FMarvinTeichmann_KittiSeg_readme_e28b7e7773f5.png\" width=\"288\"> \u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FMarvinTeichmann_KittiSeg_readme_48f7f56cf602.png\" width=\"288\"> \n\n\u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FMarvinTeichmann_KittiSeg_readme_4c84b7955315.png\" width=\"288\"> \u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FMarvinTeichmann_KittiSeg_readme_5c9db714964e.png\" width=\"288\"> \u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FMarvinTeichmann_KittiSeg_readme_26095cee74a0.png\" width=\"288\"> \n\n该模型专为在小型数据集上表现良好而设计。训练仅使用了 *250* 张密集标注图像。尽管如此，仍实现了超过 *96%* 的先进 MaxF1 分数。该模型可用于实时应用，每张图像的推理速度可达惊人的 *95ms*。\n\n该仓库包含用于在 TensorFlow 中训练、评估和可视化语义分割的代码。它与 [TensorVision](http:\u002F\u002Ftensorvision.readthedocs.io\u002Fen\u002Fmaster\u002Fuser\u002Ftutorial.html#workflow) 后端兼容，后者能够以非常整洁的方式组织实验。此外，还可以查看 [KittiBox](https:\u002F\u002Fgithub.com\u002FMarvinTeichmann\u002FKittiBox#kittibox)，这是一个用于执行最先进目标检测的类似项目。最后，[MultiNet](https:\u002F\u002Fgithub.com\u002FMarvinTeichmann\u002FMultiNet) 仓库包含联合训练分割、分类和检测的代码。KittiSeg 和 KittiBox 在 MultiNet 中被用作子模块。\n\n\n## 要求\n\n该代码需要 [TensorFlow 1.0](https:\u002F\u002Fwww.tensorflow.org\u002Finstall\u002F)、Python 2.7 以及以下 Python 库：\n\n* matplotlib\n* numpy\n* Pillow\n* scipy\n* commentjson\n\n可以使用以下命令安装这些模块：`pip install numpy scipy pillow matplotlib commentjson` 或 `pip install -r requirements.txt`。\n\n\n## 设置\n\n1. 克隆此仓库：`git clone https:\u002F\u002Fgithub.com\u002FMarvinTeichmann\u002FKittiSeg.git`\n2. 初始化所有子模块：`git submodule update --init --recursive`\n3. 【可选】下载 KITTI 道路数据：\n    1. 在此处获取 KITTI 数据下载链接：[http:\u002F\u002Fwww.cvlibs.net\u002Fdownload.php?file=data_road.zip](http:\u002F\u002Fwww.cvlibs.net\u002Fdownload.php?file=data_road.zip)\n    2. 运行 `python download_data.py --kitti_url URL_YOU_RETRIEVED`\n\n使用 `demo.py` 运行模型时无需下载 KITTI 数据（步骤 3）。只有当您想使用 `train.py` 训练自己的模型，或使用 `evaluate.py` 对模型进行官方评估时，才需要执行步骤 3。另外请注意，我建议使用 `download_data.py` 而不是手动下载数据。该脚本还会解压并准备好数据。如果您想控制数据存储位置，请参阅“管理数据存储”部分（README.md#manage-data-storage）。\n\n##### 更新现有安装时请执行：\n\n1. 拉取所有补丁：`git pull`\n2. 更新所有子模块：`git submodule update --init --recursive`\n\n如果您忘记执行第二步，可能会导致仓库状态不一致。您可能已经拥有 KittiSeg 的新代码，但仍在运行旧版本的子模块代码。虽然这有时也能工作，但我并未对此进行任何测试验证。\n\n\n## 教程\n\n### 入门\n\n运行：`python demo.py --input_image data\u002Fdemo\u002Fdemo.png`，以 [demo.png](data\u002F\u002Fdemo\u002Fdemo.png) 作为输入获取预测结果。\n\n运行：`python evaluate.py` 来评估已训练的模型。\n\n运行：`python train.py --hypes hypes\u002FKittiSeg.json` 使用 KITTI 数据训练模型。\n\n如果您想理解代码，建议首先查看 [demo.py](demo.py)。我在该文件中尽可能详尽地记录了每一步操作。\n\n\n### 管理数据存储\n\nKittiSeg 允许将数据存储与代码分离。这在许多服务器环境中非常有用。默认情况下，数据存储在 `KittiSeg\u002FDATA` 文件夹中，运行结果则保存在 `KittiSeg\u002FRUNS` 文件夹中。可以通过设置 bash 环境变量 `$TV_DIR_DATA` 和 `$TV_DIR_RUNS` 来更改此行为。\n\n在您的 `.profile` 文件中加入 `export TV_DIR_DATA=\"\u002FMY\u002FLARGE\u002FHDD\u002FDATA\"`，所有数据将被下载到 `\u002FMY\u002FLARGE\u002FHDD\u002FDATA\u002Fdata_road`。在 `.profile` 中加入 `export TV_DIR_RUNS=\"\u002FMY\u002FLARGE\u002FHDD\u002FRUNS\"`，所有运行结果将被保存到 `\u002FMY\u002FLARGE\u002FHDD\u002FRUNS\u002FKittiSeg`。\n\n### RUNDIR 和实验组织\n\nKittiSeg 可帮助您组织大量实验。为此，每次运行的结果都会存储在其各自的 rundir 中。每个 rundir 包含：\n\n* `output.log`：打印到屏幕上的训练输出副本\n* `tensorflow events`：可在 rundir 中运行 TensorBoard\n* `tensorflow checkpoints`：可以从 rundir 加载训练好的模型\n* `[dir] images`：包含示例输出图像的文件夹。`image_iter` 控制整个验证集被转储的频率\n* `[dir] model_files`：构建模型所需的所有源代码副本。如果您有多个版本的模型，这将非常有用。\n\n为了跟踪所有实验，您可以使用 `--name` 标志为每个 rundir 命名。`--project` 标志会将运行结果存储在一个单独的子文件夹中，从而允许您运行不同的实验系列。例如，`python train.py --project batch_size_bench --name size_5` 将使用以下目录作为 rundir：`$TV_DIR_RUNS\u002FKittiSeg\u002Fbatch_size_bench\u002Fsize_5_KittiSeg_2017_02_08_13.12`。\n\n`--nosave` 标志非常有用，可以避免 rundir 中产生过多垃圾文件。\n\n\n### 修改模型及使用自有数据训练\n\n模型由文件 `hypes\u002FKittiSeg.json` 控制。修改此文件应足以让您使用自有数据训练模型，并根据需求调整架构。有关预期输入格式的说明，请参阅 [此处](docu\u002Finputs.md)。\n\n\n对于高级修改，代码由 5 个不同的模块控制，这些模块在 `hypes\u002FKittiSeg.json` 中指定如下：\n\n```\n\"model\": {\n   \"input_file\": \"..\u002Finputs\u002Fkitti_seg_input.py\",\n   \"architecture_file\" : \"..\u002Fencoder\u002Ffcn8_vgg.py\",\n   \"objective_file\" : \"..\u002Fdecoder\u002Fkitti_multiloss.py\",\n   \"optimizer_file\" : \"..\u002Foptimizer\u002Fgeneric_optimizer.py\",\n   \"evaluator_file\" : \"..\u002Fevals\u002Fkitti_eval.py\"\n},\n```\n\n这些模块独立运作。这使得您可以轻松尝试不同的数据集（`input_file`）、编码器网络（`architecture_file`）等。有关这些文件的具体说明，请参阅 [TensorVision](http:\u002F\u002Ftensorvision.readthedocs.io\u002Fen\u002Fmaster\u002Fuser\u002Ftutorial.html#workflow)。\n\n## 使用 TensorVision 后端\n\nKittiSeg 构建在 TensorVision [TensorVision](https:\u002F\u002Fgithub.com\u002FTensorVision\u002FTensorVision) 后端之上。TensorVision 将计算机视觉训练模块化，并有助于实验的组织管理。\n\n\n要使用 TensorVision 的全部功能，请按照以下步骤安装：\n\n`$ cd KittiSeg\u002Fsubmodules\u002FTensorVision` \u003Cbr>\n`$ python setup.py install`\n\n现在您可以使用 TensorVision 的命令行工具，其中包括：\n\n`tv-train --hypes hypes\u002FKittiSeg.json` 训练一个 JSON 格式的模型。\u003Cbr>\n`tv-continue --logdir PATH\u002FTO\u002FRUNDIR` 从上次保存的检查点继续训练 RUNDIR 中的模型。可以通过在 `model_files\u002Fhypes.json` 中增加 `max_steps` 来进行微调。\u003Cbr>\n`tv-analyze --logdir PATH\u002FTO\u002FRUNDIR` 评估 RUNDIR 中的模型。\u003Cbr>\n\n\n## 有用的标志与变量\n\n以下是一些在使用 KittiSeg 和 TensorVision 时会很有用的标志。所有标志在各个脚本中均可使用。\n\n`--hypes`：指定要使用的超参数文件。\u003Cbr>\n`--logdir`：指定要使用的日志目录。\u003Cbr>\n`--gpus`：指定在哪些 GPU 上运行代码。\u003Cbr>\n`--name`：为本次运行分配一个名称。\u003Cbr>\n`--project`：为本次运行分配一个项目。\u003Cbr>\n`--nosave`：调试运行，日志目录将被设置为 `debug`。\u003Cbr>\n\n此外，以下 TensorVision 环境变量也会很有用：\n\n`$TV_DIR_DATA`：指定数据的元目录。\u003Cbr>\n`$TV_DIR_RUNS`：指定输出的元目录。\u003Cbr>\n`$TV_USE_GPUS`：指定默认的 GPU 行为。\u003Cbr>\n\n在集群上，建议设置 `$TV_USE_GPUS=force`。这会使 `--gpus` 标志变为必填项，并确保作业在正确的 GPU 上执行。\n\n## 有问题吗？\n\n请查看 [FAQ](docu\u002FFAQ.md)。如果您有尚未解答的问题，也欢迎随时提交问题进行讨论。\n\n# 引用\n\n如果您从本代码中受益，请引用我们的论文：\n\n```\n@article{teichmann2016multinet,\n  title={MultiNet: Real-time Joint Semantic Reasoning for Autonomous Driving},\n  author={Teichmann, Marvin and Weber, Michael and Zoellner, Marius and Cipolla, Roberto and Urtasun, Raquel},\n  journal={arXiv preprint arXiv:1612.07695},\n  year={2016}\n}\n```","# KittiSeg 快速上手指南\n\nKittiSeg 是一个基于全卷积网络（FCN）的道路分割模型，曾在 KITTI 道路检测基准测试中获得第一名。该模型专为小数据集设计（仅需 250 张标注图像），推理速度高达 95ms\u002F张，适用于实时应用。\n\n## 环境准备\n\n在开始之前，请确保您的系统满足以下要求：\n\n*   **操作系统**: Linux (推荐) 或 macOS\n*   **Python 版本**: 2.7\n*   **深度学习框架**: TensorFlow 1.0\n*   **依赖库**:\n    *   matplotlib\n    *   numpy\n    *   Pillow\n    *   scipy\n    *   commentjson\n\n**安装依赖命令：**\n\n```bash\npip install numpy scipy pillow matplotlib commentjson\n# 或者使用 requirements.txt\npip install -r requirements.txt\n```\n\n> **提示**：国内用户建议使用清华或阿里镜像源加速安装，例如：\n> `pip install -i https:\u002F\u002Fpypi.tuna.tsinghua.edu.cn\u002Fsimple -r requirements.txt`\n\n## 安装步骤\n\n1.  **克隆仓库**\n    ```bash\n    git clone https:\u002F\u002Fgithub.com\u002FMarvinTeichmann\u002FKittiSeg.git\n    cd KittiSeg\n    ```\n\n2.  **初始化子模块**\n    该项目依赖 TensorVision 后端，必须初始化子模块才能正常运行。\n    ```bash\n    git submodule update --init --recursive\n    ```\n\n3.  **（可选）下载数据集**\n    *   如果您仅想运行演示（Demo），**跳过此步**。\n    *   如果您需要训练模型或进行评估，请执行以下步骤：\n    \n    ```bash\n    # 获取数据链接 (http:\u002F\u002Fwww.cvlibs.net\u002Fdownload.php?file=data_road.zip)\n    # 将 URL_YOU_RETRIEVED 替换为实际链接\n    python download_data.py --kitti_url URL_YOU_RETRIEVED\n    ```\n    > 注：`download_data.py` 脚本会自动下载、解压并预处理数据。\n\n## 基本使用\n\n### 1. 运行演示 (Demo)\n无需下载数据集，直接使用内置图片测试模型预测效果。\n\n```bash\npython demo.py --input_image data\u002Fdemo\u002Fdemo.png\n```\n\n### 2. 训练模型\n使用 KITTI 数据集训练模型（需先完成“下载数据集”步骤）。\n\n```bash\npython train.py --hypes hypes\u002FKittiSeg.json\n```\n\n### 3. 评估模型\n对已训练的模型进行评估。\n\n```bash\npython evaluate.py\n```\n\n### 进阶提示：管理数据存储\n默认情况下，数据存储在 `KittiSeg\u002FDATA`，运行结果存储在 `KittiSeg\u002FRUNS`。在服务器环境中，建议通过环境变量修改存储路径至大容量硬盘：\n\n```bash\n# 添加到 ~\u002F.profile 或 ~\u002F.bashrc\nexport TV_DIR_DATA=\"\u002FYOUR\u002FLARGE\u002FHDD\u002FDATA\"\nexport TV_DIR_RUNS=\"\u002FYOUR\u002FLARGE\u002FHDD\u002FRUNS\"\n```","某自动驾驶初创团队正在开发低速物流车的道路感知模块，需要在有限标注数据下快速实现高精度的可行驶区域识别。\n\n### 没有 KittiSeg 时\n- **数据依赖严重**：传统语义分割模型通常需要数千张密集标注图像才能收敛，团队难以承担高昂的数据标注成本和时间开销。\n- **实时性不足**：自研或通用的重型模型推理速度慢，无法满足车辆行驶中每秒至少 10 帧的实时处理需求，导致决策延迟。\n- **精度难以达标**：在复杂路况下，现有方案对车道线和路面边界的识别模糊，最大 F1 分数（MaxF1）徘徊在 90% 以下，存在安全隐患。\n- **实验管理混乱**：缺乏统一的训练与评估框架，每次调整参数都需要手动整理代码和数据，复现优秀结果极其困难。\n\n### 使用 KittiSeg 后\n- **小样本高效训练**：利用基于 FCN 的优化架构，仅用 250 张密集标注图像即可完成训练，大幅降低了数据准备门槛。\n- **毫秒级实时推理**：单张图片推理速度高达 95ms，轻松满足车载嵌入式设备的实时运行要求，确保车辆反应敏捷。\n- **标杆级识别精度**：在 KITTI 道路检测基准上取得超过 96% 的 MaxF1 分数，精准勾勒出可行驶区域，显著提升了行车安全性。\n- **流程规范化**：依托 TensorVision 后端，团队能够清晰地组织实验、训练和可视化流程，快速迭代并复现最优模型。\n\nKittiSeg 通过“小数据、高速度、高精度”的特性，帮助团队以极低成本构建了达到行业顶尖水平的道路感知能力。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FMarvinTeichmann_KittiSeg_0f59213c.png","MarvinTeichmann","Marvin Teichmann","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002FMarvinTeichmann_0c07c135.jpg","Germany Phd student.  Working on Deep Learning and Computer Vision projects.","University of Cambridge","Cambridge, United Kingdom","marvin.teichmann@gmail.com",null,"https:\u002F\u002Fgithub.com\u002FMarvinTeichmann",[85],{"name":86,"color":87,"percentage":88},"Python","#3572A5",100,920,399,"2026-02-01T11:19:15","MIT",4,"未说明","支持 GPU 加速（可通过 --gpus 指定），但未明确说明是否必需、具体型号、显存大小或 CUDA 版本",{"notes":97,"python":98,"dependencies":99},"该工具基于 TensorFlow 1.0 构建，依赖较旧。默认数据存储于 DATA 文件夹，输出存于 RUNS 文件夹，可通过环境变量 $TV_DIR_DATA 和 $TV_DIR_RUNS 自定义路径。训练仅需 250 张标注图像，推理速度约为每张图 95ms。若需使用完整的 TensorVision 命令行工具，需单独安装子模块中的 TensorVision。","2.7",[100,101,102,103,104,105],"tensorflow==1.0","matplotlib","numpy","Pillow","scipy","commentjson",[51,14,13,15],[108,109,110,111,112,113,114],"segmentation","tensorflow","kitti-data","autonomous-driving","computer-vision","fcn","semantic","2026-03-27T02:49:30.150509","2026-04-06T08:40:51.208828",[118,123,128,133,138,142],{"id":119,"question_zh":120,"answer_zh":121,"source_url":122},9700,"如何了解输入文件（如 val3.txt, train3.txt）的格式及如何制作自己的训练数据？","关于输入文件的详细描述和命名规则，可以查看项目文档中的 inputs.md 文件（通常位于 docu\u002Finputs.md）。该文档解释了文件命名的意义以及如何构建包含原始图像（raw）和掩码（mask\u002FGT）的训练列表。","https:\u002F\u002Fgithub.com\u002FMarvinTeichmann\u002FKittiSeg\u002Fissues\u002F8",{"id":124,"question_zh":125,"answer_zh":126,"source_url":127},9701,"运行 demo.py 时出现 'No such file or directory: RUNS\u002FKittiSeg_pretrained.zip' 错误怎么办？","这通常是因为默认下载链接失效或无法访问。社区用户已将预训练模型文件上传至 Dropbox 作为替代方案。您可以从以下地址手动下载 'KittiSeg_pretrained.zip' 文件，并将其放置在项目的 'RUNS' 目录下：https:\u002F\u002Fwww.dropbox.com\u002Fs\u002Feygjnz1k5sb2l35\u002FKittiSeg_pretrained.zip?dl=0","https:\u002F\u002Fgithub.com\u002FMarvinTeichmann\u002FKittiSeg\u002Fissues\u002F19",{"id":129,"question_zh":130,"answer_zh":131,"source_url":132},9702,"在 Windows 上运行时遇到 'ImportError: No module named seg_utils' 错误如何解决？","Windows 用户需要手动创建子模块的符号链接。请以管理员身份运行命令提示符，在 KittiSeg 文件夹下创建一个名为 'install_windows.bat' 的文件，填入以下代码并运行：\ndel %~dp0\\incl\\evaluation\ndel %~dp0\\incl\\seg_utils\ndel %~dp0\\incl\\tensorflow_fcn\ndel %~dp0\\incl\\tensorvision\nmklink \u002FD %~dp0\\incl\\evaluation %~dp0\\submodules\\evaluation\nmklink \u002FD %~dp0\\incl\\seg_utils %~dp0\\submodules\\evaluation\\kitti_devkit\nmklink \u002FD %~dp0\\incl\\tensorflow_fcn %~dp0\\submodules\\tensorflow-fcn\nmklink \u002FD %~dp0\\incl\\tensorvision %~dp0\\submodules\\TensorVision\\tensorvision\necho ok\npause\n此外，请确保已执行 'git submodule update --init --recursive' 初始化所有子模块。","https:\u002F\u002Fgithub.com\u002FMarvinTeichmann\u002FKittiSeg\u002Fissues\u002F17",{"id":134,"question_zh":135,"answer_zh":136,"source_url":137},9703,"如何将模型保存为 .pb 文件并进行单张图像的推理（Inference）？","首先使用 tf.train.write_graph 保存模型。在加载 .pb 文件进行推理时，需正确获取输入和输出张量的名称。可以通过遍历 graph.get_operations() 来获取，例如：\nl_input = graph.get_operations()[0].name + ':0'\nl_output = graph.get_operations()[5].name + ':0'\n注意索引可能因模型结构而异。加载后，务必将 Dropout 概率设置为 1（即关闭 Dropout），然后传入图像数据进行推理。","https:\u002F\u002Fgithub.com\u002FMarvinTeichmann\u002FKittiSeg\u002Fissues\u002F113",{"id":139,"question_zh":140,"answer_zh":141,"source_url":137},9704,"推理得到的输出矩阵如何转换为可视化的分割图像？","推理输出的 Tensor 通常需要重塑（reshape）和切片处理。假设输出形状为 [height, width, classes]，可以使用 tf.reshape 调整维度，然后用 tf.slice 提取每个类别的概率图。最后将概率值乘以 255 并转换为整数类型即可可视化。示例代码逻辑如下：\nSession_out_reshaped = tf.reshape(Session_out, [375, 1242, 2])\nProb_1_Tensor = tf.slice(Session_out_reshaped, [0, 0, 0], [375, 1242, 1])\nProb_1_Tensor_Normalized = Prob_1_Tensor.eval() * 255.0",{"id":143,"question_zh":144,"answer_zh":145,"source_url":146},9705,"运行 train.py 时出现 'ValueError: No variables provided' 错误是什么原因？","该错误通常发生在尝试训练自定义数据集时。虽然日志显示网络已初始化，但优化器未找到可训练的变量。这可能是因为自定义的数据集配置（KittiSeg.json）中路径设置不正确，导致数据加载器未能正确绑定变量，或者在修改网络结构时未正确注册变量。请检查生成的 train\u002Fval txt 文件路径是否正确，以及 DATA 和 RUN 目录结构是否符合 KITTI 格式规范。","https:\u002F\u002Fgithub.com\u002FMarvinTeichmann\u002FKittiSeg\u002Fissues\u002F35",[]]