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

Building module fastxml.inferencer failed: ["distutils.errors.CompileError: command 'gcc' failed with exit status 1\n"] #23

Open
YuMiaoTHU opened this issue Jul 10, 2019 · 5 comments

Comments

@YuMiaoTHU
Copy link

when I import the inferencer.pyx, it is wrong? How can I solve it? Thanks!

@Refefer
Copy link
Owner

Refefer commented Jul 13, 2019

I need a bit more to go on. Can I get your system info, gcc version, and full stack trace?

@YuMiaoTHU
Copy link
Author

tanks for your reply! I have fixed the error, by set_up.py build_ext --inplace
but there are another problem!!! when I use my own data to train the model, 500,000 data, when train after almost 6 hours, the code will be killed! I use cpu to train the model. the command is
fxml.py my_json.model train.json --verbose train --iters 5 --trees 20 --label-weight propensity --alpha 1e-4 --leaf-classifiers
I don't konw why...........
thanks

@YuMiaoTHU
Copy link
Author

sorry, I think I should add more details. That is I use all cpu in a linux sever, when I use 1,000 data,
There is no problem in the training process, but when I use 500,000 data to train, The process took about 6 hours and got stuck there. It didn't show killed, but the process was gone. like this,
Splitting 1564
Training classifier
Training classifier

Has been showing for more than 24 hours, I suspect it is a memory leak, but I don't know how to fix it.

image
the process is showed below
image
thanks!

@Refefer
Copy link
Owner

Refefer commented Jul 16, 2019 via email

@asdlkfh
Copy link

asdlkfh commented Feb 23, 2023

when I import the inferencer.pyx, it is wrong? How can I solve it? Thanks!

hello,can you tell me how you solve it?

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