Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about nl_obj & nl_edge setting #91

Open
fi94 opened this issue Dec 12, 2019 · 6 comments
Open

about nl_obj & nl_edge setting #91

fi94 opened this issue Dec 12, 2019 · 6 comments

Comments

@fi94
Copy link

fi94 commented Dec 12, 2019

No description provided.

@fi94 fi94 changed the title about nl_obj & nl about nl_obj & nl_edge setting Dec 12, 2019
@fi94
Copy link
Author

fi94 commented Dec 12, 2019

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?

@Iceland-Leo
Copy link

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?

@fi94
Copy link
Author

fi94 commented Dec 12, 2019

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.

@Iceland-Leo
Copy link

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).

@fi94
Copy link
Author

fi94 commented Dec 12, 2019

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

@haoopan
Copy link

haoopan commented Apr 3, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants