Dora is an experiment management framework. It expresses grid searches as pure python files as part of your repo. It identifies experiments with a unique hash signature. Scale up to hundreds of experiments without losing your sanity.
MIT License
269
stars
24
forks
source link
[low importance] dora grid picks up additional packages #21
Basically the grid.py file in dora uses pkgutil.walk_packages(). This outputs local packages in the grids/ dir, but also global ones installed by pip. So if I had a /grids/alphafold/ dir, and also did "pip install alphafold" on my environment, it will pick all modules inside the installed alphafold package unintentionally.
The fix is to probably replace pkgutil.walk_packages() at grid.py to something else that picks up only local modules.
🐛 Bug Report
Basically the grid.py file in dora uses pkgutil.walk_packages(). This outputs local packages in the grids/ dir, but also global ones installed by pip. So if I had a/grids/alphafold/ dir, and also did "pip install alphafold" on my environment, it will pick all modules inside the installed alphafold package unintentionally.
The fix is to probably replace pkgutil.walk_packages() at grid.py to something else that picks up only local modules.
Your Environment