Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/drinkingcoder/FlowFormer-Official
/ upflow8
Function
upflow8
core/utils/utils.py:99–101 ·
view source on GitHub ↗
(flow, mode='bilinear')
Source
from the content-addressed store, hash-verified
97
98
99
def
upflow8(flow, mode=
'bilinear'
):
100
new_size = (8 * flow.shape[2], 8 * flow.shape[3])
101
return
8 * F.interpolate(flow, size=new_size, mode=mode, align_corners=True)
Callers
1
forward
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected