Skip to content

How to intall package limbl? #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
xiaopanchen opened this issue Apr 29, 2025 · 2 comments
Open

How to intall package limbl? #18

xiaopanchen opened this issue Apr 29, 2025 · 2 comments

Comments

@xiaopanchen
Copy link

In the SwAV_main.py, I cannot find the limbl package. How to intall this package? Can you provide the requirements of your project? Thank you very much.

import libml.utils as utils
from libml.utils import EarlyStopping

@PatrickFeeney
Copy link
Collaborator

Regrettably, I believe that the libml package was copied, pasted, and tweaked several times throughout the repository. The original authors would have to clarify which is intended to be used with SwAV_main.py, but perhaps this file is a good place to start:
https://github.com/tufts-ml/SSL-vs-SSL-benchmark/blob/main/Self/BYOL/libml/utils.py

@michaelchughes
Copy link
Contributor

Thanks for your interest! For now, I'd follow Patrick's suggestions above.... you don't need to pip install anything else, use the libml files provided already in the repo in different folder location. You could probably either set your PYTHONPATH to point to those files, or just copy that folder into the SwAV folder as a place to start.

@rjiang03 is the original author of the SwAV piece of this work, tagging him here in case he can clarify further.

We are working (slowly) at refactoring this repo to avoid such issues... please stay tuned, hopefully will have an update in a few months.

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

No branches or pull requests

3 participants