Repository navigation
数据结构 :创建 data/ 目录,编写 data_loader.py 空框架 - #4031
Merged
Merged
Conversation
donghaiwang
approved these changes
Dec 20, 2025
sda-57
pushed a commit
to sda-57/nn
that referenced
this pull request
Dec 21, 2025
* 1 * 1 * 无人车动态障碍物避障算法 * 提交选题 * 删除多余的.idea文件,更改项目名 * 创建 requirements.txt,列出依赖库(numpy、torch、opencv 等) * [env] add requirements.txt for dependencies * [env] add requirements.txt for dependencies * [data] create data_loader.py skeleton * [data] create data_loader.py skeleton
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
该 data_loader.py 是基于 PyTorch 的标准数据加载框架,定义了抽象基类 AutoDriveDataset,后续可快速扩展 KITTI、Waymo 等具体自动驾驶数据集。
data/ 目录为空目录,若 Git 无法追踪空目录,可在 data/ 下创建 .gitkeep 文件(空文件,仅用于让 Git 追踪目录),该操作可作为额外改动,但本次提交无需添加,后续存放数据集文件后自动追踪。
本次提交完成了data/目录创建与data_loader.py空框架编写,文件包含自动驾驶感知数据集基类与数据加载器构建函数。
核心操作是通过mkdir创建目录、写入框架代码后,用git add和git commit完成提交,最后推送到远程仓库。
验证提交可通过本地git log命令或远程仓库Commits页面查看。