Andrey Zhavoronkov 4 years ago committed by GitHub
parent 2cbe1d5ca6
commit 6e49f1b36b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,7 +24,8 @@ def main():
args = get_args()
manifest_directory = os.path.abspath(args.output_dir)
os.makedirs(manifest_directory, exist_ok=True)
if not os.path.exists(manifest_directory):
os.makedirs(manifest_directory)
source = os.path.abspath(os.path.expanduser(args.source))
sources = []
@ -90,4 +91,4 @@ if __name__ == "__main__":
base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(base_dir)
from dataset_manifest.core import VideoManifestManager, ImageManifestManager
main()
main()

Loading…
Cancel
Save