Xenova HF staff commited on
Commit
3fd6b50
1 Parent(s): 3aae851

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -14,18 +14,18 @@ If you haven't already, you can install the [Transformers.js](https://huggingfac
14
  npm i @xenova/transformers
15
  ```
16
 
17
- **Example:** Perform object-detection with `Xenova/yolov9-c_all`.
18
 
19
  ```js
20
  import { AutoModel, AutoProcessor, RawImage } from '@xenova/transformers';
21
 
22
  // Load model
23
- const model = await AutoModel.from_pretrained('Xenova/yolov9-c_all', {
24
  // quantized: false, // (Optional) Use unquantized version.
25
  })
26
 
27
  // Load processor
28
- const processor = await AutoProcessor.from_pretrained('Xenova/yolov9-c_all');
29
  // processor.feature_extractor.size = { shortest_edge: 128 } // (Optional) Update resize value
30
 
31
  // Read image and run processor
 
14
  npm i @xenova/transformers
15
  ```
16
 
17
+ **Example:** Perform object-detection with `Xenova/yolov9-e_all`.
18
 
19
  ```js
20
  import { AutoModel, AutoProcessor, RawImage } from '@xenova/transformers';
21
 
22
  // Load model
23
+ const model = await AutoModel.from_pretrained('Xenova/yolov9-e_all', {
24
  // quantized: false, // (Optional) Use unquantized version.
25
  })
26
 
27
  // Load processor
28
+ const processor = await AutoProcessor.from_pretrained('Xenova/yolov9-e_all');
29
  // processor.feature_extractor.size = { shortest_edge: 128 } // (Optional) Update resize value
30
 
31
  // Read image and run processor