Skip to content
Snippets Groups Projects
Commit c882b19e authored by Franck Galpin's avatar Franck Galpin
Browse files

Merge branch 'md5_extended_sequence' into 'VTM-11.0_nnvc'

extended dataset md5 corrected

See merge request jvet-ahg-nnvc/VVCSoftware_VTM!118
parents 68909e81 6f40da92
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ def getKey(prm, s):
def getFullFilename(path, filename):
if os.path.basename(filename) == filename:
return os.path.joint(path, filename)
return os.path.join(path, filename)
else:
return filename
......@@ -257,6 +257,10 @@ if "dataset_file" in key_input:
n = val["frame_count"]
copyBytes(infile, outfile, int(size * b * n))
extend(outfile, args.extend, val)
if not os.path.isfile(outfile):
quit("[ERROR] unable to find {}".format(outfile))
md = md5file(outfile)
ds[seq]["md5"] = md
ds[seq]["frame_count"] = args.extend
print(f"[INFO] extended {outfile}")
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment