neural-motifs icon indicating copy to clipboard operation
neural-motifs copied to clipboard

about nl_obj & nl_edge setting

Open fi94 opened this issue 5 years ago • 6 comments

fi94 avatar Dec 12 '19 03:12 fi94

I got error when I run './scripts/train_models_sgcls.sh 2'

the error is ''' ./scripts/train_models_sgcls.sh: line 21: 24548 Segmentation fault (core dumped) python models/train_rels.py -m sgcls -model motifnet -order left right -nl_obj 2 -nl_edge 4 -b 6 -clip 5 -p 100 -hidden_dim 512 -pooling_dim 4096 -lr 1e-3 -ngpu 1 -ckpt checkpoints/vgdet/vg-23.tar -save_dir checkpoints/motifnet2 -nepoch 50 -use_bias ''' when I set nl_obj & nl_edge = 0, the scripts is worked so, I don't know what is wrong with the setting. Can someone help me with the problem?

fi94 avatar Dec 12 '19 03:12 fi94

I got error when I run './scripts/train_models_sgcls.sh 2'

the error is ''' ./scripts/train_models_sgcls.sh: line 21: 24548 Segmentation fault (core dumped) python models/train_rels.py -m sgcls -model motifnet -order left right -nl_obj 2 -nl_edge 4 -b 6 -clip 5 -p 100 -hidden_dim 512 -pooling_dim 4096 -lr 1e-3 -ngpu 1 -ckpt checkpoints/vgdet/vg-23.tar -save_dir checkpoints/motifnet2 -nepoch 50 -use_bias ''' when I set nl_obj & nl_edge = 0, the scripts is worked so, I don't know what is wrong with the setting. Can someone help me with the problem?

You set default values can you run on your machine? I tried, but it took up a lot of CPU memory during training (more than 64G), and the program being killed by the system. Do you have a problem?

Iceland-Leo avatar Dec 12 '19 12:12 Iceland-Leo

I got error when I run './scripts/train_models_sgcls.sh 2' the error is ''' ./scripts/train_models_sgcls.sh: line 21: 24548 Segmentation fault (core dumped) python models/train_rels.py -m sgcls -model motifnet -order left right -nl_obj 2 -nl_edge 4 -b 6 -clip 5 -p 100 -hidden_dim 512 -pooling_dim 4096 -lr 1e-3 -ngpu 1 -ckpt checkpoints/vgdet/vg-23.tar -save_dir checkpoints/motifnet2 -nepoch 50 -use_bias ''' when I set nl_obj & nl_edge = 0, the scripts is worked so, I don't know what is wrong with the setting. Can someone help me with the problem?

You set default values can you run on your machine? I tried, but it took up a lot of CPU memory during training (more than 64G), and the program being killed by the system. Do you have a problem?

I can't run on my machine when I set default( nl_obj = 1 & nl_edge = 2) values too. Does that mean I can only run this script on more than 64G CPU. And my cpu memory is 32 G. However, when I monitor the CPU memory while running the script, I didn't find that CPU usage was full.

fi94 avatar Dec 12 '19 13:12 fi94

I got error when I run './scripts/train_models_sgcls.sh 2' the error is ''' ./scripts/train_models_sgcls.sh: line 21: 24548 Segmentation fault (core dumped) python models/train_rels.py -m sgcls -model motifnet -order left right -nl_obj 2 -nl_edge 4 -b 6 -clip 5 -p 100 -hidden_dim 512 -pooling_dim 4096 -lr 1e-3 -ngpu 1 -ckpt checkpoints/vgdet/vg-23.tar -save_dir checkpoints/motifnet2 -nepoch 50 -use_bias ''' when I set nl_obj & nl_edge = 0, the scripts is worked so, I don't know what is wrong with the setting. Can someone help me with the problem?

You set default values can you run on your machine? I tried, but it took up a lot of CPU memory during training (more than 64G), and the program being killed by the system. Do you have a problem?

I can't run on my machine when I set default( nl_obj = 1 & nl_edge = 2) values too. Does that mean I can only run this script on more than 64G CPU. And my cpu memory is 32 G. However, when I monitor the CPU memory while running the script, I didn't find that CPU usage was full.

I don't know which ones are occupying memory, maybe we can add QQ discussion (mine: 785091715).

Iceland-Leo avatar Dec 12 '19 13:12 Iceland-Leo

I got error when I run './scripts/train_models_sgcls.sh 2' the error is ''' ./scripts/train_models_sgcls.sh: line 21: 24548 Segmentation fault (core dumped) python models/train_rels.py -m sgcls -model motifnet -order left right -nl_obj 2 -nl_edge 4 -b 6 -clip 5 -p 100 -hidden_dim 512 -pooling_dim 4096 -lr 1e-3 -ngpu 1 -ckpt checkpoints/vgdet/vg-23.tar -save_dir checkpoints/motifnet2 -nepoch 50 -use_bias ''' when I set nl_obj & nl_edge = 0, the scripts is worked so, I don't know what is wrong with the setting. Can someone help me with the problem?

You set default values can you run on your machine? I tried, but it took up a lot of CPU memory during training (more than 64G), and the program being killed by the system. Do you have a problem?

I can't run on my machine when I set default( nl_obj = 1 & nl_edge = 2) values too. Does that mean I can only run this script on more than 64G CPU. And my cpu memory is 32 G. However, when I monitor the CPU memory while running the script, I didn't find that CPU usage was full.

I don't know which ones are occupying memory, maybe we can add QQ discussion (mine: 785091715).

ok I add you now

fi94 avatar Dec 12 '19 13:12 fi94

@Iceland-Leo Have you solved this problem? Please tell me, Thx:)

haoopan avatar Apr 03 '20 04:04 haoopan