Transfer-Learning-Library icon indicating copy to clipboard operation
Transfer-Learning-Library copied to clipboard

Could you give the detailed environment Requirement ?

Open zhguo9 opened this issue 1 year ago • 1 comments

Thank you for all the work you have done !!

however, there are several environment problems about numpy, torchvision and so on. So i'm asking for the probability of listing the environment. for example , versions of python, numpy and so on . or just give the total environment for the TLL lib.

Thanks again!

following is some errors due to the environment problems. image image

zhguo9 avatar Feb 02 '24 04:02 zhguo9

We're sorry that the versions of torch and torchvision used in TLlib are somewhat out of date. At present, the issues that have received a lot of feedback are mainly related to torchvision and numpy. The version of torchvision can be referenced in each task (an example https://github.com/thuml/Transfer-Learning-Library/tree/master/examples/domain_adaptation/image_classification). For numpy, you can consider manually lowering the version, or modifying it according to the error report, mainly the type, etc. (for example, np.int should be modified to np.int32).

thucbx99 avatar Mar 15 '24 03:03 thucbx99