We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cdcadb commit 1be1cb1Copy full SHA for 1be1cb1
MLStructFP_benchmarks/utils/_fp_db.py
@@ -132,7 +132,11 @@ def process_dataset(
132
'respectively')
133
assert '/' in path, path_err
134
135
- t = len(db.floors)
+ t: int = len(db.floors) # Total floors
136
+ if t == 0:
137
+ print('There are no floors. Process finished')
138
+ return []
139
+
140
print(f'Total floors to compute in parallel: {t}')
141
print(f'Using up to {num_proc}/{cpu_count()} CPUs')
142
print(f'Using export path: {path}, image size: {isz}px, patch size: {psz}m')
0 commit comments