Upload ConditionalUNet
Browse files- config.json +4 -0
- model.safetensors +1 -1
- modeling_conditional_unet.py +1 -1
config.json
CHANGED
|
@@ -2,6 +2,10 @@
|
|
| 2 |
"architectures": [
|
| 3 |
"ConditionalUNet"
|
| 4 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
"encoder_rep": "evanrsl/resnet-Alzheimer",
|
| 6 |
"id2label": {
|
| 7 |
"0": "LABEL_0",
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"ConditionalUNet"
|
| 4 |
],
|
| 5 |
+
"auto_map": {
|
| 6 |
+
"AutoConfig": "configuration_conditional_unet.ConditionalUNetConfig",
|
| 7 |
+
"AutoModelForImageClassification": "modeling_conditional_unet.ConditionalUNet"
|
| 8 |
+
},
|
| 9 |
"encoder_rep": "evanrsl/resnet-Alzheimer",
|
| 10 |
"id2label": {
|
| 11 |
"0": "LABEL_0",
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 293858844
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aeef4dcea3b2611dc0985e423465ec85b53d06bb7947d187899a367837515c95
|
| 3 |
size 293858844
|
modeling_conditional_unet.py
CHANGED
|
@@ -27,7 +27,7 @@ class UpSampleBlock(nn.Module):
|
|
| 27 |
return x
|
| 28 |
|
| 29 |
class ConditionalUNet(PreTrainedModel):
|
| 30 |
-
config_class = ConditionalUNetConfig
|
| 31 |
|
| 32 |
def __init__(self, config: ConditionalUNetConfig):
|
| 33 |
super().__init__(config)
|
|
|
|
| 27 |
return x
|
| 28 |
|
| 29 |
class ConditionalUNet(PreTrainedModel):
|
| 30 |
+
config_class = "ConditionalUNetConfig"
|
| 31 |
|
| 32 |
def __init__(self, config: ConditionalUNetConfig):
|
| 33 |
super().__init__(config)
|