Open lukasz-staniszewski opened 5 months ago
怎么推理
I want to use a model you've created, but in the new model you made, there are additional parameters like
"conv2.weight", "conv2.bias", "seed_bin_regressor._net.0.weight", "seed_bin_regressor._net.0.bias", "seed_bin_regressor._net.2.weight", .....
and so on. Because of this, I'm unsure how to properly load the model. When using DepthAnythingV2 and attempting to use load_state_dict, I encounter the following error:
RuntimeError: Error(s) in loading state_dict for DepthAnythingV2:
Unexpected key(s) in state_dict: "conv2.weight", "conv2.bias" ......
How can I resolve this issue?
@lukasz-staniszewski Hi, thanks for sharing the trained model! Can you share the config_zoedetph.json file you used to train it? Thanks a lot!
@lukasz-staniszewski Hi, thanks for sharing the trained model! Can you share the config_zoedetph.json file you used to train it? Thanks a lot!
I'm pretty sure I didn't change the file, and it's the same as this one. However, there is also config_zoedepth_kitti.json, and I'm not sure which one is the exact one used under the hood.
Hi, just letting you know I've trained Depth-Anything-Small for KITTI metric prediction (10 epochs).
Feel free to re-use/finetune it or put it in the repo:
Wandb run HuggingFace checkpoint
Metrics:
Model size: