You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- # -*- coding: utf-8 -*-
- import os
- import sys
-
- from service import Dispatcher
- import torch
-
- '''
- dsp主程序入口
- '''
- if __name__ == '__main__':
- print("(♥◠‿◠)ノ゙ DSP【算法调度服务】开始启动 ლ(´ڡ`ლ)゙")
- # 获取主程序执行根路径
- base_dir = os.path.dirname(os.path.realpath(sys.argv[0]))
- torch.multiprocessing.set_start_method('spawn')
- Dispatcher.DispatcherService(base_dir).start_service()
|