implemented locking in training setup
This commit is contained in:
25
backend/asdf/5/exp_infer.py
Normal file
25
backend/asdf/5/exp_infer.py
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding:utf-8 -*-
|
||||
# Copyright (c) Megvii, Inc. and its affiliates.
|
||||
|
||||
import os
|
||||
|
||||
from yolox.exp import Exp as MyExp
|
||||
|
||||
|
||||
class Exp(MyExp):
|
||||
def __init__(self):
|
||||
super(Exp, self).__init__()
|
||||
self.data_dir = "/home/kitraining/To_Annotate/"
|
||||
self.train_ann = "coco_project_5_train.json"
|
||||
self.val_ann = "coco_project_5_valid.json"
|
||||
self.test_ann = "coco_project_5_test.json"
|
||||
self.num_classes = 4
|
||||
self.depth = 1.0
|
||||
self.width = 1.0
|
||||
self.input_size = (640, 640)
|
||||
self.mosaic_scale = (0.1, 2)
|
||||
self.random_size = (10, 20)
|
||||
self.test_size = (640, 640)
|
||||
self.exp_name = os.path.split(os.path.realpath(__file__))[1].split(".")[0]
|
||||
self.enable_mixup = False
|
||||
Reference in New Issue
Block a user