Skip to content

Commit

Permalink
log packages, add packages to requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
vorozhkog committed Nov 27, 2024
1 parent 61d3cec commit 4f5b66f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
12 changes: 11 additions & 1 deletion train/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
git+https://github.com/supervisely/supervisely.git@update-libs
git+https://github.com/supervisely/supervisely.git@update-libs

pyyaml==5.4.0
opencv-python==4.6.0.66
scipy==1.8.0
pillow==9.0.1
certifi==2023.7.22
transformers==4.36.0
protobuf==3.19.5
opencv-python-headless==4.8.1.78
fonttools==4.43.0
6 changes: 6 additions & 0 deletions train/src/globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,9 @@
IN_PROGRESS = False

stop_event = None

import pkg_resources

packages = {dist.project_name: dist.version for dist in pkg_resources.working_set}

sly.logger.info("PACKAGES:", extra=packages)

0 comments on commit 4f5b66f

Please sign in to comment.