Skip to content
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

No such file or directory: 'probes/pytorch_alexnet_imagenet/html-features.html' #14

Open
filltong opened this issue May 29, 2018 · 1 comment

Comments

@filltong
Copy link

script/rundissect_pytorch.sh: line 199: globexists: command not found
Generating graph
Traceback (most recent call last):
File "src/graphprobe.py", line 114, in
stats = summarize(loadviz(directory, blob), args.threshold,
File "src/graphprobe.py", line 20, in loadviz
with open(html_fn) as f:
IOError: [Errno 2] No such file or directory: 'probes/pytorch_alexnet_imagenet/html-features.html'

@gauenk
Copy link

gauenk commented Jun 29, 2018

see issue #10

this can be fixed by pasting the following code snippet into the script/rundissect_pytorch.sh

# For expanding globs http://stackoverflow.com/questions/2937407                
function globexists {                                                           
  set +f                                                                        
  test -e "$1" -o -L "$1";set -f                                                
} 

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

2 participants