mirror of
https://github.com/MarcosRodrigoT/ViT-Face-Recognition.git
synced 2025-12-30 08:02:29 +00:00
Add small fix
This commit is contained in:
@@ -42,7 +42,7 @@ for file in sorted(os.listdir(SURVEILLANCE_DIR)):
|
||||
if len(components) == 3:
|
||||
person, camera, distance = components
|
||||
else:
|
||||
person, camera, distance = components + [None]
|
||||
person, camera, distance = components + ['None']
|
||||
file_path = os.path.join(SURVEILLANCE_DIR, file)
|
||||
|
||||
surveillance_data[person][file] = {
|
||||
|
||||
Reference in New Issue
Block a user