RepositoryPythonFRPháp
ClementPinard

ClementPinard/SfmLearner-Pytorch

Pytorch version of SfmLearner from Tinghui Zhou et al.

1.0ksao
224fork
8issue
1lượt xem

🚗 Học độ sâu và chuyển động từ video mà không cần nhãn

Phiên bản PyTorch của SfMLearner, cài đặt lại hệ thống từ paper "Unsupervised Learning of Depth and Ego-Motion from Video" (CVPR 2017, Oral) của Tinghui Zhou và đồng tác giả.

Dự án SfmLearner-Pytorch là bản cài đặt bằng PyTorch của mô hình SfMLearner gốc bằng TensorFlow. Mô hình học cách ưữc lường độ sâu cảnh (disparity/depth) và chuyển động ego-motion trực tiếp từ video chưa gán nhãn, sử dụng mất mát quang học (photometric loss). Dự án hỗ trợ huấn luyện trên bộ dữ liệu KITTI và CityScapes, cùng công cụ chuẩn bị dữ liệu và đánh giá tích hợp sẵn.

✨ Điểm nổi bật

  • Học chưa giám sát: ưữc lường độ sâu và ego-motion chỉ từ video, không cần nhãn.
  • Hỗ trợ KITTI & CityScapes: công cụ chuẩn bị dữ liệu đã được tối ưu, lưu trữ chuỗi ảnh trong thư mục.
  • Stacking trên thời gian thực: không cần chuẩn bị dữ liệu cho độ dài chuỗi cụ thể, stacking được thực hiện on-the-fly.
  • Tốc độ huấn luyện nhanh: ~0.14s/bước trên GTX980Ti nhờ cải tiến pipeline dữ liệu.
  • Đánh giá độ sâu thực tế: hỗ trợ so sánh với ground truth để đo lường chất lượng.
  • TensorBoard tích hợp: theo dõi tiến trình huấn luyện qua giao diện web.
  • Inference linh hoạt: sinh disparity/depth cho ảnh đơn hoặc đánh giá trên bộ test.
  • Cải tiến Smooth Loss: áp dụng lên depth thay vì disparity, tối ưu hơn với trọng số 2.0.

💡 Vì sao đáng chú ý

Khác với các phương pháp truyền thống cần dữ liệu gán nhãn đắt hơn, SfMLearner học trực tiếp từ video thường, giảm đáng kể chi phí thu thập dữ liệu. Đặc biệt, mất mát quang học và smooth loss được thiết kế lại tỉ mỉ giúp mô hình hội tụ ổn định và gần với kết quả của paper gốc. Đây là lựa chọn hiệu quả cho các bài toán thị giác máy tính cần ưữc lường độ sâu trong thời gian thực như xe tự hành, SLAM hoặc AR/VR.


#PyTorch #SfMLearner #DepthEstimation #UnsupervisedLearning #KITTI #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026
RepositoryPython
Comfy-Org/ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

149.6k
Dec 2, 2026
RepositoryC++
ethan-li-coding/FasterStereoCuda-Library

这是一个基于CUDA加速的快速立体匹配库,它的核心是SemiglobalMatching(SGM)算法,它不仅在时间效率上要远远优于基于CPU的常规SGM,而且占用明显更少的内存,这意味着它不仅可以在较低分辨率(百万级)图像上达到实时的帧率,且完全具备处理千万级甚至更高量级图像的能力。

121
Sep 21, 2023
RepositoryPython
huggingface/transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

169.5k
Dec 1, 2026
RepositoryPython
vllm-project/vllm

A high-throughput and memory-efficient inference and serving engine for LLMs

98.0k
Dec 2, 2026
RepositoryJupyter Notebook
rasbt/LLMs-from-scratch

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

109.4k
Nov 26, 2026
RepositoryTypeScript
firecrawl/firecrawl

Firecrawl is the knowledge infrastructure to make your agents smarter. It connects your agents to the web, and to Alexandria, our library of everything else.

215.1k
Dec 2, 2026
Repository
getify/You-Dont-Know-JS

A book series (2 published editions) on the JS language.

184.8k
Oct 31, 2026
RepositoryPython
labmlai/annotated_deep_learning_paper_implementations

🧑‍🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠

67.8k
Nov 2, 2026