ma-xu/Context-Cluster

Cannot import apply_test_time_pool of timm

kosuke430 opened this issue · 1 comments

ImportError: cannot import name 'apply_test_time_pool' from 'timm.models'

It looks like there is no apply_test_time_pool in the timm model file.
timm ver is 0.9.2
I looked and could not find this file on timm. Is this no longer the case due to differences in the specs between the different versions?
If you could let me know, I would appreciate it.

from timm.layers import apply_test_time_pool

Resolved, we are operating by adding this sentence to validate.py.