ewrfcas / MVSFormer

Codes of MVSFormer: Multi-View Stereo by Learning Robust Image Features and Temperature-based Depth (TMLR2023)
Apache License 2.0
175 stars 10 forks source link

Testing on DTU #16

Closed karimcossentini closed 1 year ago

karimcossentini commented 1 year ago

I got this error when testing on DTU: image it seems that this issue is resolved in an updated version of timm (0.9.2), but when upgrading it, another error occurs: image Any suggestion on how to fix this? Thanks

ewrfcas commented 1 year ago

See requirements.txt. We need timm==0.3.2.

karimcossentini commented 1 year ago

When installing the requirements.txt with timm==0.3.2, the first error of "cannot import name container_abcs" occurs :(

ewrfcas commented 1 year ago

It should be caused by the pytorch version. You could try to use "from torch._six import container_abcs" instead of "import collections.abc as container_abcs" or vice versa.

karimcossentini commented 1 year ago

It worked, thanks :)