ma-xu / Context-Cluster

[ICLR 2023 Oral] Image as Set of Points

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot import apply_test_time_pool of timm

kosuke430 opened this issue · comments

commented

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.

commented

from timm.layers import apply_test_time_pool

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