ZoeDepth icon indicating copy to clipboard operation
ZoeDepth copied to clipboard

error in training

Open anhquyetnguyen opened this issue 1 year ago • 4 comments

image

anhquyetnguyen avatar Mar 14 '23 10:03 anhquyetnguyen

It looks like you have a cached file that is corrupted. Could you try deleting zoedepth and midas repo zip, directory and checkpoints from the torch hub cache (typically located under ~/.cache/ ) and then run sanity checks as recommended in README?

shariqfarooq123 avatar Mar 14 '23 11:03 shariqfarooq123

When I check the images in sync.data set, the size has only (H, W) but in https://github.com/isl-org/ZoeDepth/blob/main/zoedepth/data/data_mono.py#L478 get 3 three chanels, when I run error @shariqfarooq123

anhquyetnguyen avatar Mar 17 '23 09:03 anhquyetnguyen

image

anhquyetnguyen avatar Mar 17 '23 09:03 anhquyetnguyen

RGB images should have 3 channels (by definition). Are your images grayscale? Could you please check if you set up the datasets correctly?

shariqfarooq123 avatar Mar 20 '23 10:03 shariqfarooq123