FredZhang7 commited on
Commit
2995779
·
1 Parent(s): cdbd71c

update code

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -26,13 +26,13 @@ in terms of top-1 accuracy, efficiency, and robustness on my dataset and [CMAD b
26
 
27
  <br>
28
 
29
- ### Load 1000 Class PyTorch Jit Model
30
  ```python
31
  from transformers import AutoModel
32
  model = AutoModel.from_pretrained("FredZhang7/efficientnetv2.5_rw_s", trust_remote_code=True)
33
  ```
34
 
35
- ### Prepare Model for Training
36
  To change the number of classes, replace the linear classification layer.
37
  Here's an example of how to convert the architecture into a trainable model.
38
  ```bash
 
26
 
27
  <br>
28
 
29
+ ### Load PyTorch Jit Model with 1000 Classes
30
  ```python
31
  from transformers import AutoModel
32
  model = AutoModel.from_pretrained("FredZhang7/efficientnetv2.5_rw_s", trust_remote_code=True)
33
  ```
34
 
35
+ ### Load Model with Custom Classes
36
  To change the number of classes, replace the linear classification layer.
37
  Here's an example of how to convert the architecture into a trainable model.
38
  ```bash