Commit
·
7b9ac04
1
Parent(s):
c31f390
initial push
Browse files- .idea/vcs.xml +1 -0
- modeling_csatv2.py +1 -1
- preprocessor_config.json +1 -1
.idea/vcs.xml
CHANGED
|
@@ -2,5 +2,6 @@
|
|
| 2 |
<project version="4">
|
| 3 |
<component name="VcsDirectoryMappings">
|
| 4 |
<mapping directory="" vcs="Git" />
|
|
|
|
| 5 |
</component>
|
| 6 |
</project>
|
|
|
|
| 2 |
<project version="4">
|
| 3 |
<component name="VcsDirectoryMappings">
|
| 4 |
<mapping directory="" vcs="Git" />
|
| 5 |
+
<mapping directory="$PROJECT_DIR$/CSATv2" vcs="Git" />
|
| 6 |
</component>
|
| 7 |
</project>
|
modeling_csatv2.py
CHANGED
|
@@ -26,7 +26,7 @@ class CSATv2Config(PretrainedConfig):
|
|
| 26 |
|
| 27 |
def __init__(
|
| 28 |
self,
|
| 29 |
-
image_size: int =
|
| 30 |
num_channels: int = 3,
|
| 31 |
num_labels: int = 1000,
|
| 32 |
drop_path_rate: float = 0.0,
|
|
|
|
| 26 |
|
| 27 |
def __init__(
|
| 28 |
self,
|
| 29 |
+
image_size: int = 512,
|
| 30 |
num_channels: int = 3,
|
| 31 |
num_labels: int = 1000,
|
| 32 |
drop_path_rate: float = 0.0,
|
preprocessor_config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"feature_extractor_type": "
|
| 3 |
|
| 4 |
"do_resize": true,
|
| 5 |
"size": 512,
|
|
|
|
| 1 |
{
|
| 2 |
+
"feature_extractor_type": "ViTImageProcessor",
|
| 3 |
|
| 4 |
"do_resize": true,
|
| 5 |
"size": 512,
|