centerX
centerX copied to clipboard
issues
Traceback (most recent call last):
File "train_net.py", line 66, in
这个问题解决了吗?是版本不对吗?
I Got the the error, When I switched detectron2 to Version 0.2.1, It works.
回溯(最近一次调用最后一次): 文件“train_net.py”,第 66 行,在 args=(args,) 中, 文件“/home/cc631/anaconda3/envs/pytorch1.7/lib/python3.7/site-packages /detectron2/engine/launch.py”,第 82 行,启动 main_func(*args) 文件“train_net.py”,第 52 行,主 训练器 = Trainer(cfg) 文件“/home/cc631/hailong/code/Dilated -FPN/centerX/engine/defaults.py”,第 71 行,在init super(DefaultTrainer, self) 中。init (model, data_loader, optimizationr) TypeError: init () 需要 1 个位置参数,但给出了 4 个
您好,请问我如何使用此代码来训练自己得模型