23 lines
717 B
Python
23 lines
717 B
Python
#!/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_48_train.json"
|
|
self.val_ann = "coco_project_48_valid.json"
|
|
self.test_ann = "coco_project_48_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.act = "relu"
|
|
self.exp_name = os.path.split(os.path.realpath(__file__))[1].split(".")[0]
|