Comments (3)
Hi,
When compress_classifier.py is invoked, it saves some information about the execution environment, to make it easier later to compare and recreate experiment executions.
We collect three pieces of information regarding the git environment: the current branch, is the git working area clean or dirty (i.e. are you working with some local changes), and the tag of the had of the local git repo. See: https://github.com/NervanaSystems/distiller/blob/ab02df45374db22a22e160fdf518103b19819dcb/apputils/execution_env.py#L51-L66
This code searches up the directory tree, looking for your .git
directory, but in your case it can't find this directory. I suspect that you run the example in a directory above where you cloned distiller. Is this correct? Can you send more about your directory hierarchy?
BTW, you can bypass this specific issue, by placing this line in remark: https://github.com/NervanaSystems/distiller/blob/ab02df45374db22a22e160fdf518103b19819dcb/apputils/execution_env.py#L78
Cheers,
Neta
from distiller.
em, I cannot use git clone command for the reason of network yesterday, so I download the package alternatively. Now it's no longer a problem. Thank you very much!
Hi,
When compress_classifier.py is invoked, it saves some information about the execution environment, to make it easier later to compare and recreate experiment executions.
We collect three pieces of information regarding the git environment: the current branch, is the git working area clean or dirty (i.e. are you working with some local changes), and the tag of the had of the local git repo. See:
distiller/apputils/execution_env.py
Lines 51 to 66 in ab02df4
def log_git_state(): """Log the state of the git repository. It is useful to know what git tag we're using, and if we have outstanding code. """ repo = Repo(gitroot) assert not repo.bare if repo.is_dirty(): logger.debug("Git is dirty") try: branch_name = repo.active_branch.name except TypeError: branch_name = "None, Git is in 'detached HEAD' state" logger.debug("Active Git branch: %s", branch_name) logger.debug("Git commit: %s" % repo.head.commit.hexsha)
This code searches up the directory tree, looking for your
.git
directory, but in your case it can't find this directory. I suspect that you run the example in a directory above where you cloned distiller. Is this correct? Can you send more about your directory hierarchy?BTW, you can bypass this specific issue, by placing this line in remark:
distiller/apputils/execution_env.py
Line 78 in ab02df4
log_git_state()
Cheers,
Neta
em, I cannot use git clone command for the reason of network yesterday, so I download the package alternatively. Now it's no longer a problem. Thank you very much!
from distiller.
Thanks, for bringing this up: I forgot that people can download the zip file!
I will add a graceful error handler in this case and then I'll close the issue again.
Thank you for reporting this!
Cheers,
Neta
from distiller.
Related Issues (20)
- Could you provide the checkpoints for structural pruning experiments?
- checkpoints example in example jupyter-notebook download denied. HOT 1
- Support for PyTorch 1.7? HOT 3
- Can't install pyglet, even when i cloned it form github
- Higher than 8-bit Quantization not working properly!?
- yolo4 custom object detection deep compression
- Why can't I use multi-GPU training
- How can I use the distilled model in embedded device?
- Combining quantization and pruning in Distiller
- Issue running compress_classifier.py HOT 1
- Reduce the yolov3 model size of keras(.h5) or darknet(.weight)
- Quantization don't reduce the model file size
- How to train my original dataset in distiller? HOT 1
- Error running 'pip install mintapi' on Raspberry Pi
- --load-serialized will make model fail to prune HOT 1
- QAT for LSTM
- outdated requirements? HOT 2
- Sensitivity Analysis
- Does it support translation model?
- Load quantization aware model checkpoint (inference) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distiller.