DepthAnything / Depth-Anything-V2

[NeurIPS 2024] Depth Anything V2. A More Capable Foundation Model for Monocular Depth Estimation
https://depth-anything-v2.github.io
Apache License 2.0
3.99k stars 345 forks source link

Train the Panorama #199

Open hcscysh opened 3 weeks ago

hcscysh commented 3 weeks ago

When I use the network to train the 360monodepth database, the result is very poor. In the code, I only replace the data, and read the depth map. The original code is as following: depth_fd = h5py.File(depth_path, "r") distance_meters = np.array(depth_fd['dataset']) depth = hypersim_distance_to_depth(distance_meters) I modity the code as following: depth = (cv2.imread(depth_path, cv2.CV_16UC1)) / 255.0 0b76462681fc49849b4588f80fb9cfcf_rgb 0b76462681fc49849b4588f80fb9cfcf_rgb