mirror of https://github.com/hpcaitech/ColossalAI
[hotfix] fix sd vit import error (#5420)
* fix import error * Update dpt_depth.py --------- Co-authored-by: binmakeswell <binmakeswell@gmail.com>pull/5335/head^2
parent
070df689e6
commit
e304e4db35
|
@ -2,7 +2,8 @@ import torch
|
|||
import torch.nn as nn
|
||||
|
||||
from .base_model import BaseModel
|
||||
from .blocks import FeatureFusionBlock_custom, Interpolate, _make_encoder, forward_vit
|
||||
from .blocks import FeatureFusionBlock_custom, Interpolate, _make_encoder
|
||||
from .vit import forward_vit
|
||||
|
||||
|
||||
def _make_fusion_block(features, use_bn):
|
||||
|
|
Loading…
Reference in New Issue