thuml / Transfer-Learning-Library

Transfer Learning Library for Domain Adaptation, Task Adaptation, and Domain Generalization

Home Page:http://transfer.thuml.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could you give the detailed environment Requirement ?

zhguo9 opened this issue · 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

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).