upd
This commit is contained in:
@@ -86,9 +86,10 @@ class RenderUtil:
|
||||
json.dump(params, f)
|
||||
start_time = time.time()
|
||||
result = subprocess.run([
|
||||
'blender', '-b', '-P', script_path, '--', temp_dir
|
||||
'/home/hofee/blender-4.0.2-linux-x64/blender', '-b', '-P', script_path, '--', temp_dir
|
||||
], capture_output=True, text=True)
|
||||
end_time = time.time()
|
||||
|
||||
print(f"-- Time taken for blender: {end_time - start_time} seconds")
|
||||
path = os.path.join(temp_dir, "tmp")
|
||||
cam_info = DataLoadUtil.load_cam_info(path, binocular=True)
|
||||
|
Reference in New Issue
Block a user