Skip to content

Conversation

@bertsky
Copy link
Collaborator

@bertsky bertsky commented Sep 24, 2025

Makes the following work:

ocrd resmgr download -D -n https://huggingface.co/microsoft/trocr-small-handwritten -t directory ocrd-eynollah-segment microsoft/trocr-small-handwritten

(should also work with registered resources)

@bertsky bertsky requested review from MehmedGIT and kba September 24, 2025 18:06
Copy link
Member

@kba kba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

With LFS installed, this will also clone all the large files, right?

Copy link
Contributor

@MehmedGIT MehmedGIT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@bertsky
Copy link
Collaborator Author

bertsky commented Sep 25, 2025

With LFS installed, this will also clone all the large files, right?

yes, exactly.

@kba kba changed the base branch from 1294-impl-rm-server-revert-revert to master October 1, 2025 18:39
@kba kba changed the base branch from master to 1294-impl-rm-server-revert-revert October 1, 2025 18:40
@kba
Copy link
Member

kba commented Oct 15, 2025

Chery-picked onto current master in https://github.com/OCR-D/core/tree/resmgr-git-clone - any reason not to merge into master as-is? It is a very useful feature esp. for eynollah.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants