hyounghk / VideoQADenseCapFrameGate-ACL2020

Code for ACL 2020 paper "Dense-Caption Matching and Frame-Selection Gating for Temporal Localization in VideoQA." Hyounghun Kim, Zineng Tang, Mohit Bansal.
MIT License
34 stars 10 forks source link

Could you provide the function "mkdirp" in config.py ? #4

Closed bty1992 closed 3 years ago

bty1992 commented 4 years ago

It is the source code that "from utils.utils import mkdirp, load_json, save_json_pretty, make_zipfile" in "config.py" in line 7. However, I failed to find out the function "mkdirp". It would be appreciated if you could provide the function.

hyounghk commented 3 years ago

Sorry for late response. mkdirp is just 'os.makedirs()' call. So you can use this instead. Or, you can manually create the corresponding directory in advance.

bty1992 commented 3 years ago

Really appreciate it!