Fix in apply_net.py dump directory. (#227)
Fix in apply_net.py dump directory. (#227)

Summary:
It should use full names after listdir.

Thanks for your contribution!

If you're sending a large PR (e.g., >50 lines),
please open an issue first about the feature / bug, and indicate how you want to contribute.

Before submitting a PR, please run `dev/linter.sh` to lint the code.
Pull Request resolved: https://github.com/facebookresearch/detectron2/pull/227

Differential Revision: D18301671

Pulled By: ppwwyyxx

fbshipit-source-id: 845778bbc072617652bd20f0ac90a1bc08f34a20

facebookresearch/detectron2,facebookresearch/detectron2,facebookresearch/detectron2