amartyasaran
commited on
Commit
•
0e4b91d
1
Parent(s):
7292c9f
Upload model
Browse files- SwinModelForCXRClassification.py +1 -1
- model.safetensors +1 -1
SwinModelForCXRClassification.py
CHANGED
@@ -3,7 +3,7 @@ import torch.nn as nn
|
|
3 |
from torch.nn import LayerNorm, Linear, Dropout
|
4 |
from torch.nn.functional import gelu
|
5 |
from transformers import PretrainedConfig, PreTrainedModel
|
6 |
-
from SwinCXRConfig import SwinCXRConfig
|
7 |
|
8 |
class SwinSelfAttention(nn.Module):
|
9 |
def __init__(self, embed_dim, num_heads, dropout):
|
|
|
3 |
from torch.nn import LayerNorm, Linear, Dropout
|
4 |
from torch.nn.functional import gelu
|
5 |
from transformers import PretrainedConfig, PreTrainedModel
|
6 |
+
from .SwinCXRConfig import SwinCXRConfig
|
7 |
|
8 |
class SwinSelfAttention(nn.Module):
|
9 |
def __init__(self, embed_dim, num_heads, dropout):
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2944444
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:16e5a0e63fc0123c1570287e1c8169062799b0c107a0aba0b9515bfeb73e52de
|
3 |
size 2944444
|