stevenbucaille AntonV HF Staff commited on
Commit
2df49cd
·
1 Parent(s): 042d2c8

Update README to inform about transformers versioning (#2)

Browse files

- Update README to inform about transformers versioning (ff6282be988adcd46b94d5481f3d6ee4bd5b5931)


Co-authored-by: Anton Vlasjuk <AntonV@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +1 -5
README.md CHANGED
@@ -10,17 +10,13 @@ pipeline_tag: keypoint-detection
10
 
11
  This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
12
 
13
- This is a LightGlue variant trained on DISK, with a commecially permissive license, which requires `kornia` to be installed and is usable with transformers with the following lines of code
14
  ```python
15
  from transformers import LightGlueForKeypointMatching
16
 
17
  model = LightGlueForKeypointMatching.from_pretrained("ETH-CVG/lightglue_disk", trust_remote_code=True)
18
  ```
19
 
20
- _Also, the commit allowing DISK to work with LightGlue is not yet included in a version of transformers, please install transformers from the main branch_
21
- ```
22
- uv pip install git+https://github.com/huggingface/transformers.git
23
- ```
24
 
25
  # LightGlue
26
 
 
10
 
11
  This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
12
 
13
+ This is a LightGlue variant trained on DISK, with a commecially permissive license, which requires `kornia` to be installed and is usable with transformers up to [v5.4.0](https://github.com/huggingface/transformers/pull/45122) with the following lines of code
14
  ```python
15
  from transformers import LightGlueForKeypointMatching
16
 
17
  model = LightGlueForKeypointMatching.from_pretrained("ETH-CVG/lightglue_disk", trust_remote_code=True)
18
  ```
19
 
 
 
 
 
20
 
21
  # LightGlue
22