nohup: 无法运行命令‘Command‘: 没有那个文件或目录

 使用下面代码

nohup `python projects/SparseRCNN/train_net.py --num-gpus 2     --config-file projects/SparseRCNN/configs/sparsercnn.res50.100pro.3x.yaml` &

报错:

-- Process 1 terminated with the following error:
Traceback (most recent call last):
  File "/root/anaconda3/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 19, in _wrap
    fn(i, *args)
  File "/root/jxl/SparseR-CNN/detectron2/engine/launch.py", line 94, in _distributed_worker
    main_func(*args)
  File "/root/jxl/SparseR-CNN/projects/SparseRCNN/train_net.py", line 126, in main
    trainer = Trainer(cfg)
  File "/root/jxl/SparseR-CNN/detectron2/engine/defaults.py", line 284, in __init__
    data_loader = self.build_train_loader(cfg)
  File "/root/jxl/SparseR-CNN/projects/SparseRCNN/train_net.py", line 50, in build_train_loader
    return build_detection_train_loader(cfg, mapper=mapper)
  Fi

你可能感兴趣的:(遇到的问题,Linux,linux,ubuntu)