Scene-Graph-Benchmark.pytorch icon indicating copy to clipboard operation
Scene-Graph-Benchmark.pytorch copied to clipboard

facing problem in training code

Open DeepaliVerma opened this issue 5 years ago • 7 comments
trafficstars

❓ Questions and Help

Sir i m facing an issue

  1. undefined symbol: _ZN3c105ErrorC1ENS_14SourceLocationERKSs
  2. subprocess.CalledProcessError: Command '['/home/cse/anaconda3/envs/scene_graph_benchmark/bin/python', u'-u', 'tools/relation_train_net.py', u'--local_rank=1', '--config-file', 'configs/e2e_relation_X_101_32_8_FPN_1x.yaml', 'MODEL.ROI_RELATION_HEAD.USE_GT_BOX', 'True', 'MODEL.ROI_RELATION_HEAD.USE_GT_OBJECT_LABEL', 'False', 'MODEL.ROI_RELATION_HEAD.PREDICTOR', 'CausalAnalysisPredictor', 'MODEL.ROI_RELATION_HEAD.CAUSAL.EFFECT_TYPE', 'none', 'MODEL.ROI_RELATION_HEAD.CAUSAL.FUSION_TYPE', 'sum', 'MODEL.ROI_RELATION_HEAD.CAUSAL.CONTEXT_LAYER', 'motifs', 'SOLVER.IMS_PER_BATCH', '12', 'TEST.IMS_PER_BATCH', '2', 'DTYPE', 'float16', 'SOLVER.MAX_ITER', '50000', 'SOLVER.VAL_PERIOD', '2000', 'SOLVER.CHECKPOINT_PERIOD', '2000', 'GLOVE_DIR', '/home/cse/neural/Scene-Graph-Benchmark.pytorch/glove', 'MODEL.PRETRAINED_DETECTOR_CKPT', '/home/cse/neural/Scene-Graph-Benchmark.pytorch/checkpoints/pretrained_faster_rcnn/model_final.pth', 'OUTPUT_DIR', '/home/cse/neural/Scene-Graph-Benchmark.pytorch/checkpoints/causal-motifs-sgcls-exmp']' returned non-zero exit status 1

please suggest me any solution for resolving these issues.

DeepaliVerma avatar Mar 15 '20 09:03 DeepaliVerma

I'm not sure. Try using another --master_port number, or you didn't install APEX / build the project correctly. (https://github.com/KaihuaTang/Scene-Graph-Benchmark.pytorch/blob/master/INSTALL.md)

KaihuaTang avatar Mar 16 '20 10:03 KaihuaTang

sir can you please tell me how i decide which master port i have to give? and I installed and build my APEX/

DeepaliVerma avatar Mar 16 '20 10:03 DeepaliVerma

sir can you please tell me how i decide which master port i have to give? and I installed and build my APEX/

You can use any master port ID as long as there are no collisions among running programs, e.g., if you started two programs using the same master port ID, there would be an error message.

If you strictly follow the INSTALL.md, your APEX should be ok

KaihuaTang avatar Mar 16 '20 11:03 KaihuaTang

@DeepaliVerma Have you solved this problem? Thx

haoopan avatar Apr 03 '20 13:04 haoopan

Hello, Has anybody fixed this bug?

Thanks

shipra25jain avatar Aug 17 '20 15:08 shipra25jain

No, I am not able to fix that problem.

On Mon, Aug 17, 2020 at 9:21 PM Shipra Jain [email protected] wrote:

Hello, Has anybody fixed this bug?

Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/KaihuaTang/Scene-Graph-Benchmark.pytorch/issues/10#issuecomment-674961105, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIWY7TTKZITWOKCQS3XN2F3SBFGXRANCNFSM4LKXFAWA .

-- With Regards

Deepali Verma

DeepaliVerma avatar Aug 17 '20 19:08 DeepaliVerma

Hello, Has anybody fixed this bug?

Thanks

Don't use float16 in 'DTYPE' can solve this problem in my situation.

haoopan avatar Aug 18 '20 01:08 haoopan