Files
2024-08-07 17:50:06 +09:00

8 lines
243 B
Python

import os
current_file_path = os.path.abspath(__file__)
current_directory = os.path.dirname(current_file_path)
class InferenceConfig:
def __init__(self):
self.flag_use_half_precision: bool = False # whether to use half precision