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

Problem with current version of required libraries while execution of files #28

Open mustafa-tola opened 10 months ago

mustafa-tola commented 10 months ago

Hello My dear fellows. I am trying to execute the MVSFormer test file in this project but the problem is that some libraries required versions are not currently available like torch,torchvision. Because of this version not found issue, timm library is producing errors because it is using features of older torch and torchvisio libraries. Here are my enviroment versions: -

pip: - 23.1.2 python: - 3.10.12 cuda: - 11.8 timm: - 0.3.2 torch: - 1.11.0 torchvision: - 0.12.0

Kindly help me with this issue Thanks in advance

maybeLx commented 9 months ago

the version of timm is 0.3.0, can you provide details about the errors about timm library?

lbg030 commented 5 months ago

Same problems,

requirments.txt is " Python - 3.9 Cuda - 11.3 Timm - 0.3.2 torch - 1.9.0 torchvision - 1.10.0 "

I successfully installed, but this error Occured.

image

maybeLx commented 5 months ago

You may change from torch._six import container_abcs to from collections import abc as container_abcs in your code "helpers.py"

lbg030 commented 5 months ago

Thank you so much, I solve this error currently

mustafa-tola commented 5 months ago

The issue is solved now thanks for reply

On Thu, Feb 15, 2024, 8:01 AM maybeLx @.***> wrote:

You may change from torch._six import container_abcs to from collections import abc as container_abcs in your code "helpers.py"

— Reply to this email directly, view it on GitHub https://github.com/ewrfcas/MVSFormer/issues/28#issuecomment-1945289686, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALCF2IYJPKTTVVMOXROQGLTYTV3BRAVCNFSM6AAAAAA4J54BKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBVGI4DSNRYGY . You are receiving this because you authored the thread.Message ID: @.***>