Open jeezrick opened 3 months ago
[:~/code/rep/Depth-Anything-V2]
$ cl | grep xform
xformers 0.0.26.post1 pypi_0 pypi
[:~/code/rep/Depth-Anything-V2]
$ cl | grep torch
ffmpeg 4.3 hf484d3e_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch
open-clip-torch 2.24.0 pypi_0 pypi
pytorch-cuda 11.7 h778d358_5 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch
pytorch-lightning 2.2.1 pypi_0 pypi
pytorch-msssim 1.0.0 pypi_0 pypi
pytorch-mutex 1.0 cuda pytorch
pytorch3d 0.7.6 dev_0 <develop>
torch 2.3.0 pypi_0 pypi
torch-geometric 2.5.0 pypi_0 pypi
torchaudio 2.3.0 pypi_0 pypi
torchmetrics 0.10.3 pypi_0 pypi
torchvision 0.18.0 pypi_0 pypi
model load fine, but getting segmention fault running infer line.
after debug, I find that problem lies in
features = self.pretrained.get_intermediate_layers(x, self.intermediate_layer_idx[self.encoder], return_class_token=True)
forward code. Any idea?