Skip to content

Commit

Permalink
import weight_init class for LastLevelP6
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Dave committed Nov 14, 2023
1 parent d1d637e commit 0c9f9b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions swint/swin_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
import torch.nn as nn
import torch.nn.functional as F
import torch.utils.checkpoint as checkpoint

import numpy as np
import fvcore.nn.weight_init as weight_init
from timm.models.layers import DropPath, to_2tuple, trunc_normal_

from detectron2.modeling.backbone import Backbone
Expand Down

0 comments on commit 0c9f9b9

Please sign in to comment.