apple / ml-depth-pro

Depth Pro: Sharp Monocular Metric Depth in Less Than a Second.
Other
1.81k stars 101 forks source link

progress bar stuck at 0% #9

Closed flurrux closed 1 day ago

flurrux commented 1 day ago

when i run the model on the example image, as stated in the readme, i'm getting torch.load("checkpoints/depth_pro.pt", map_location="cpu") and underneath a progress bar that's stuck at 0%.

Screenshot 2024-10-05 190249

task manager shows that the python script is running, but i cancelled the process after 20 minutes since no progress was visible. is something wrong with the script or do i have to wait longer?

my specs: i have an AMD Ryzen 5 5500U processor with 16GB of RAM.

srrichter commented 1 day ago

The script opens a window with the result displayed. The script waits until you close the window before proceeding with the next image.

flurrux commented 1 day ago

i see the window, but it is blank and when hovered, shows a loading indicator. Screenshot 2024-10-05 200440

you-knowww commented 1 day ago

@flurrux been having the same issue. Same issue when i add -o and --skip-display flags too. Have you figured out what was wrong in your case?

flurrux commented 1 day ago

@you-knowww i wasn't able to fix it locally, but i found this online version: https://huggingface.co/spaces/akhaliq/depth-pro which is good enough for me.