NetDissect
NetDissect copied to clipboard
missing function from rundissect_pytorch_external.sh
the function globexists is missing from rundissect_pytorch_external.sh:
./script/rundissect_pytorch_external.sh: line 209: globexists: command not found
it does exist, however, in rundissect.sh
same problem here
The "globexists" function should be defined in the file. I am guessing the authors read this stack overflow page, and forgot to include this in their bash script.
If you want to fix this, you can add to the top of ./script/rundissect_pytorch_external.sh
:
# For expanding globs http://stackoverflow.com/questions/2937407
function globexists {
set +f
test -e "$1" -o -L "$1";set -f
}