Stefan Wolf
commited on
Commit
·
a141a99
1
Parent(s):
753e505
Fix inference: write class id as int.
Browse files
tools/test_generate_result_pre-consensus.py
CHANGED
@@ -221,7 +221,7 @@ def main():
|
|
221 |
class_id = -1
|
222 |
dropped += 1
|
223 |
total += 1
|
224 |
-
f.write(f'{obs_id},{
|
225 |
|
226 |
print(f'dropped {dropped} out of {total}')
|
227 |
|
|
|
221 |
class_id = -1
|
222 |
dropped += 1
|
223 |
total += 1
|
224 |
+
f.write(f'{obs_id},{int(class_id):.1f}\n')
|
225 |
|
226 |
print(f'dropped {dropped} out of {total}')
|
227 |
|