initial push
This commit is contained in:
28
backend/project_49/49/exp.py
Normal file
28
backend/project_49/49/exp.py
Normal file
@@ -0,0 +1,28 @@
|
||||
#!/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_49_train.json"
|
||||
self.val_ann = "coco_project_49_valid.json"
|
||||
self.test_ann = "coco_project_49_test.json"
|
||||
self.num_classes = 2
|
||||
self.pretrained_ckpt = r'/home/kitraining/Yolox/YOLOX-main/pretrained/YOLOX_s.pth'
|
||||
self.depth = 0.33
|
||||
self.width = 0.50
|
||||
self.exp_name = os.path.split(os.path.realpath(__file__))[1].split(".")[0]
|
||||
self.enable_mixup = True
|
||||
|
||||
|
||||
# -------------- training config --------------------- #
|
||||
self.warmup_epochs = 5
|
||||
self.max_epoch = 100
|
||||
self.act = "silu"
|
||||
Reference in New Issue
Block a user