SenticNet / personality-detection

Implementation of a hierarchical CNN based model to detect Big Five personality traits
http://sentic.net/deep-learning-based-personality-detection.pdf
MIT License
475 stars 167 forks source link

Python 3 #28

Open jtyun opened 4 years ago

jtyun commented 4 years ago

So sorry to ask, but is there any chance this will be ported to Python 3? I would like to incorporate this into the Social Media Macroscope (www.socialmediamacroscope.org), and open-source analytics environment for researching social media data built by academia (I am the PI).

ichenjia commented 4 years ago

there seem to be quite a few issues apart from its incompatibility with python3. The data processing was very memory intensive. so @amirmohammadkz made some major improvements. I forked his repo and made it python3 compatible

amirmohammadkz commented 4 years ago

there seem to be quite a few issues apart from its incompatibility with python3. The data processing was very memory intensive. so @amirmohammadkz made some major improvements. I forked his repo and made it python3 compatible

Thanks for using my forked repo. Could you run the whole code, especially the Theano model, on python 3?

jtyun commented 4 years ago

Thanks for converting Jia! How compute intense would you guys think this is to have the trained model stored and accessible to run via either an API call or just a direct call to the trained model (if that makes sense)? I'm trying to incorporate this into my open-source social media analytics science gateway (www.socialmediamacroscope.org).


Joseph T. Yun https://www.josephtyun.com

On Wed, Nov 6, 2019 at 5:46 AM amirmohammadkz notifications@github.com wrote:

there seem to be quite a few issues apart from its incompatibility with python3. The data processing was very memory intensive. so @amirmohammadkz https://github.com/amirmohammadkz made some major improvements. I forked his repo and made it python3 compatible https://github.com/ichenjia/personality-detection

Thanks for using my forked repo. Could you run the whole code, especially the Theano model, on python 3?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SenticNet/personality-detection/issues/28?email_source=notifications&email_token=AD3SPHOLOJDOYFPST4E4WH3QSKVCPA5CNFSM4IQLO6OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDGIMHY#issuecomment-550274591, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3SPHNJ5BW7XNAJKA6III3QSKVCPANCNFSM4IQLO6OA .

ichenjia commented 4 years ago

there seem to be quite a few issues apart from its incompatibility with python3. The data processing was very memory intensive. so @amirmohammadkz made some major improvements. I forked his repo and made it python3 compatible

Thanks for using my forked repo. Could you run the whole code, especially the Theano model, on python 3?

Yeah, I got it working running with Python3. The error about func_name was fixed by replacing it with __name__

ichenjia commented 4 years ago

Thanks for converting Jia! How compute intense would you guys think this is to have the trained model stored and accessible to run via either an API call or just a direct call to the trained model (if that makes sense)? I'm trying to incorporate this into my open-source social media analytics science gateway (www.socialmediamacroscope.org). ------ Joseph T. Yun https://www.josephtyun.com On Wed, Nov 6, 2019 at 5:46 AM amirmohammadkz @.***> wrote: there seem to be quite a few issues apart from its incompatibility with python3. The data processing was very memory intensive. so @amirmohammadkz https://github.com/amirmohammadkz made some major improvements. I forked his repo and made it python3 compatible https://github.com/ichenjia/personality-detection Thanks for using my forked repo. Could you run the whole code, especially the Theano model, on python 3? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#28?email_source=notifications&email_token=AD3SPHOLOJDOYFPST4E4WH3QSKVCPA5CNFSM4IQLO6OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDGIMHY#issuecomment-550274591>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3SPHNJ5BW7XNAJKA6III3QSKVCPANCNFSM4IQLO6OA .

I am using a 1080 Ti GPU and 48G of RAM to train the model. It has been 12 hours and still running. It looks like it has done half of the training. But that said, it's getting gradually slower. I assume it may be a lot slower if I were using CPU.

I plan to put the model in a flask server and call it via API. Not sure the type of server you have. Once the model is trained, the prediction should be a lot faster. The data prop may take a little more time as it is trying to embed the words.

ichenjia commented 4 years ago

by the way, did you figure out how to make the prediction yet? @amirmohammadkz

The readme file only has info regarding data prep and training.

amirmohammadkz commented 4 years ago

there seem to be quite a few issues apart from its incompatibility with python3. The data processing was very memory intensive. so @amirmohammadkz made some major improvements. I forked his repo and made it python3 compatible

Thanks for using my forked repo. Could you run the whole code, especially the Theano model, on python 3?

Yeah, I got it working running with Python3. The error about func_name was fixed by replacing it with __name__

Actually, I had some problems with running conv_net_train.py ; it seems that Theano was incompatible with my system spec on python 3, so I preferred to use python 2.7 version.

ichenjia commented 4 years ago

there seem to be quite a few issues apart from its incompatibility with python3. The data processing was very memory intensive. so @amirmohammadkz made some major improvements. I forked his repo and made it python3 compatible

Thanks for using my forked repo. Could you run the whole code, especially the Theano model, on python 3?

Yeah, I got it working running with Python3. The error about func_name was fixed by replacing it with __name__

Actually, I had some problems with running conv_net_train.py ; it seems that Theano was incompatible with my system spec on python 3, so I preferred to use python 2.7 version.

Hmm, not sure what's happening there. I used the GPU version and it was fine. What was the error?

Not sure if you saw my earlier question, did you manage to get the prediction (given a blob of text) working? Do you have any code snippet showing how to do it?

amirmohammadkz commented 4 years ago

Thanks for converting Jia! How compute intense would you guys think this is to have the trained model stored and accessible to run via either an API call or just a direct call to the trained model (if that makes sense)? I'm trying to incorporate this into my open-source social media analytics science gateway (www.socialmediamacroscope.org). ------ Joseph T. Yun https://www.josephtyun.com On Wed, Nov 6, 2019 at 5:46 AM amirmohammadkz @.***> wrote: there seem to be quite a few issues apart from its incompatibility with python3. The data processing was very memory intensive. so @amirmohammadkz https://github.com/amirmohammadkz made some major improvements. I forked his repo and made it python3 compatible https://github.com/ichenjia/personality-detection Thanks for using my forked repo. Could you run the whole code, especially the Theano model, on python 3? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#28?email_source=notifications&email_token=AD3SPHOLOJDOYFPST4E4WH3QSKVCPA5CNFSM4IQLO6OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDGIMHY#issuecomment-550274591>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3SPHNJ5BW7XNAJKA6III3QSKVCPANCNFSM4IQLO6OA .

I am using a 1080 Ti GPU and 48G of RAM to train the model. It has been 12 hours and still running. It looks like it has done half of the training. But that said, it's getting gradually slower. I assume it may be a lot slower if I were using CPU.

I plan to put the model in a flask server and call it via API. Not sure the type of server you have. Once the model is trained, the prediction should be a lot faster. The data prop may take a little more time as it is trying to embed the words.

If you apply exactly the configuration I suggested in my README.md, it will take less than 42sec for each of your epochs. So, for every trait, you need about 5.83 hours. my spec was somehow weaker than yours (in RAM)

jtyun commented 4 years ago

Jia, if you put it on a server and allow API access, would you be interested in allowing my open-source science gateway to connect to it for prediction? I am a research professor at University of Illinois Urbana Champaign and I built a science gateway for social media research so that academic researchers can analyze social media data without the need for coding skills.


Joseph T. Yun https://www.josephtyun.com

On Wed, Nov 6, 2019 at 12:31 PM amirmohammadkz notifications@github.com wrote:

Thanks for converting Jia! How compute intense would you guys think this is to have the trained model stored and accessible to run via either an API call or just a direct call to the trained model (if that makes sense)? I'm trying to incorporate this into my open-source social media analytics science gateway (www.socialmediamacroscope.org). … <#m4894821366519155715> ------ Joseph T. Yun https://www.josephtyun.com On Wed, Nov 6, 2019 at 5:46 AM amirmohammadkz @.***> wrote: there seem to be quite a few issues apart from its incompatibility with python3. The data processing was very memory intensive. so @amirmohammadkz https://github.com/amirmohammadkz https://github.com/amirmohammadkz made some major improvements. I forked his repo and made it python3 compatible https://github.com/ichenjia/personality-detection Thanks for using my forked repo. Could you run the whole code, especially the Theano model, on python 3? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#28 https://github.com/SenticNet/personality-detection/issues/28?email_source=notifications&email_token=AD3SPHOLOJDOYFPST4E4WH3QSKVCPA5CNFSM4IQLO6OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDGIMHY#issuecomment-550274591>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3SPHNJ5BW7XNAJKA6III3QSKVCPANCNFSM4IQLO6OA .

I am using a 1080 Ti GPU and 48G of RAM to train the model. It has been 12 hours and still running. It looks like it has done half of the training. But that said, it's getting gradually slower. I assume it may be a lot slower if I were using CPU.

I plan to put the model in a flask server and call it via API. Not sure the type of server you have. Once the model is trained, the prediction should be a lot faster. The data prop may take a little more time as it is trying to embed the words.

If you apply exactly the configuration I suggested in my README.md, it will take less than 42sec for each of your epochs. So, for every trait, you need about 5.83 hours. my spec was somehow weaker than yours (in RAM)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SenticNet/personality-detection/issues/28?email_source=notifications&email_token=AD3SPHJEGI42PKLPL6UOYDLQSMENHA5CNFSM4IQLO6OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDHRBNI#issuecomment-550441141, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3SPHO4AM3DYNZV7ZBZ2B3QSMENHANCNFSM4IQLO6OA .

ichenjia commented 4 years ago

Jia, if you put it on a server and allow API access, would you be interested in allowing my open-source science gateway to connect to it for prediction? I am a research professor at University of Illinois Urbana Champaign and I built a science gateway for social media research so that academic researchers can analyze social media data without the need for coding skills. ------ Joseph T. Yun https://www.josephtyun.com On Wed, Nov 6, 2019 at 12:31 PM amirmohammadkz notifications@github.com wrote: Thanks for converting Jia! How compute intense would you guys think this is to have the trained model stored and accessible to run via either an API call or just a direct call to the trained model (if that makes sense)? I'm trying to incorporate this into my open-source social media analytics science gateway (www.socialmediamacroscope.org). … <#m4894821366519155715> ------ Joseph T. Yun https://www.josephtyun.com On Wed, Nov 6, 2019 at 5:46 AM amirmohammadkz @.***> wrote: there seem to be quite a few issues apart from its incompatibility with python3. The data processing was very memory intensive. so @amirmohammadkz https://github.com/amirmohammadkz https://github.com/amirmohammadkz made some major improvements. I forked his repo and made it python3 compatible https://github.com/ichenjia/personality-detection Thanks for using my forked repo. Could you run the whole code, especially the Theano model, on python 3? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#28 <#28>?email_source=notifications&email_token=AD3SPHOLOJDOYFPST4E4WH3QSKVCPA5CNFSM4IQLO6OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDGIMHY#issuecomment-550274591>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3SPHNJ5BW7XNAJKA6III3QSKVCPANCNFSM4IQLO6OA . I am using a 1080 Ti GPU and 48G of RAM to train the model. It has been 12 hours and still running. It looks like it has done half of the training. But that said, it's getting gradually slower. I assume it may be a lot slower if I were using CPU. I plan to put the model in a flask server and call it via API. Not sure the type of server you have. Once the model is trained, the prediction should be a lot faster. The data prop may take a little more time as it is trying to embed the words. If you apply exactly the configuration I suggested in my README.md, it will take less than 42sec for each of your epochs. So, for every trait, you need about 5.83 hours. my spec was somehow weaker than yours (in RAM) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#28?email_source=notifications&email_token=AD3SPHJEGI42PKLPL6UOYDLQSMENHA5CNFSM4IQLO6OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDHRBNI#issuecomment-550441141>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3SPHO4AM3DYNZV7ZBZ2B3QSMENHANCNFSM4IQLO6OA .

Hi Joseph,

Yes, we actually do social media analysis for enterprises for a living. So this is something we can definitely help with as long as it doesn't introduce an exuberant number of API calls. How about let me figure out how to do the prediction first and then I will put it on a server. Once that's done, I can email you an Auth key to call the API. wanna PM me your email address so I can keep you updated?

Jia

amirmohammadkz commented 4 years ago

there seem to be quite a few issues apart from its incompatibility with python3. The data processing was very memory intensive. so @amirmohammadkz made some major improvements. I forked his repo and made it python3 compatible

Thanks for using my forked repo. Could you run the whole code, especially the Theano model, on python 3?

Yeah, I got it working running with Python3. The error about func_name was fixed by replacing it with __name__

Actually, I had some problems with running conv_net_train.py ; it seems that Theano was incompatible with my system spec on python 3, so I preferred to use python 2.7 version.

Hmm, not sure what's happening there. I used the GPU version and it was fine. What was the error?

Not sure if you saw my earlier question, did you manage to get the prediction (given a blob of text) working? Do you have any code snippet showing how to do it?

I do not remember it precisely. I know that Theano has some problems with some hardware and operating systems. It is outdated now and will not get any updates.

About the testing process, I am not sure about the detailed process. Theano testing process was so complicated, so we decided to reimplement the model with Keras and we used that. But you can get the accuracy of the model on your test dataset by replacing the original test set with yours

ichenjia commented 4 years ago

there seem to be quite a few issues apart from its incompatibility with python3. The data processing was very memory intensive. so @amirmohammadkz made some major improvements. I forked his repo and made it python3 compatible

Thanks for using my forked repo. Could you run the whole code, especially the Theano model, on python 3?

Yeah, I got it working running with Python3. The error about func_name was fixed by replacing it with __name__

Actually, I had some problems with running conv_net_train.py ; it seems that Theano was incompatible with my system spec on python 3, so I preferred to use python 2.7 version.

Hmm, not sure what's happening there. I used the GPU version and it was fine. What was the error? Not sure if you saw my earlier question, did you manage to get the prediction (given a blob of text) working? Do you have any code snippet showing how to do it?

I do not remember it precisely. I know that Theano has some problems with some hardware and operating systems. It is outdated now and will not get any updates.

About the testing process, I am not sure about the detailed process. Theano testing process was so complicated, so we decided to reimplement the model with Keras and we used that. But you can get the accuracy of the model on your test dataset by replacing the original test set with yours

About Theano, although Yoshua Bengio said he wouldn't keep supporting it. It looks like Facebook team is taking over the maintenance. Although I agree with you that in the long run, this package should be rewritten with Keras or Torch. Do you have plans to open-source the Keras version?

Thanks!

J

amirmohammadkz commented 4 years ago

there seem to be quite a few issues apart from its incompatibility with python3. The data processing was very memory intensive. so @amirmohammadkz made some major improvements. I forked his repo and made it python3 compatible

Thanks for using my forked repo. Could you run the whole code, especially the Theano model, on python 3?

Yeah, I got it working running with Python3. The error about func_name was fixed by replacing it with __name__

Actually, I had some problems with running conv_net_train.py ; it seems that Theano was incompatible with my system spec on python 3, so I preferred to use python 2.7 version.

Hmm, not sure what's happening there. I used the GPU version and it was fine. What was the error? Not sure if you saw my earlier question, did you manage to get the prediction (given a blob of text) working? Do you have any code snippet showing how to do it?

I do not remember it precisely. I know that Theano has some problems with some hardware and operating systems. It is outdated now and will not get any updates. About the testing process, I am not sure about the detailed process. Theano testing process was so complicated, so we decided to reimplement the model with Keras and we used that. But you can get the accuracy of the model on your test dataset by replacing the original test set with yours

About Theano, although Yoshua Bengio said he wouldn't keep supporting it. It looks like Facebook team is taking over the maintenance. Although I agree with you that in the long run, this package should be rewritten with Keras or Torch. Do you have plans to open-source the Keras version?

Thanks!

J

Yes; my colleague, @saminfatehir, was in charge of that. we will provide it for you and @jtyun in the coming days if you need.

jtyun commented 4 years ago

Thank you both! Jia, I have emailed you from my university email.

ichenjia commented 4 years ago

Yes; my colleague, @saminfatehir, was in charge of that. we will provide it for you and @jtyun in the coming days if you need.

Fantastic. Look forward to seeing the Keras version and contribute. Thanks a lot

amirmohammadkz commented 4 years ago

Your welcome :) Besides, we have implemented another model on this task which outperformed this model in both performance and accuracy on this dataset. If you are interested in its updates, you can send me a message.

ichenjia commented 4 years ago

Great. Let me do that now.

amirmohammadkz commented 4 years ago

Yes; my colleague, @saminfatehir, was in charge of that. we will provide it for you and @jtyun in the coming days if you need.

Fantastic. Look forward to seeing the Keras version and contribute. Thanks a lot

The Keras version is now available on my forked repo.

ichenjia commented 4 years ago

What I can do is to train it with Keras on our machine and see how it works out. I will also try tune it with Python3 .

Stay tuned.

Jia

On Dec 4, 2019, at 12:41 AM, amirmohammadkz notifications@github.com wrote:

Yes; my colleague, @saminfatehir https://github.com/saminfatehir, was in charge of that. we will provide it for you and @jtyun https://github.com/jtyun in the coming days if you need.

Fantastic. Look forward to seeing the Keras version and contribute. Thanks a lot

The Keras version is now available on my forked repo.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SenticNet/personality-detection/issues/28?email_source=notifications&email_token=AA4MCG6CCGCB6VG3ZPBARNLQW5ULLA5CNFSM4IQLO6OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF4FZXI#issuecomment-561536221, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4MCG6AK3ZF7YJR5SKH3K3QW5ULLANCNFSM4IQLO6OA.

amirmohammadkz commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

laifi commented 4 years ago

check this https://github.com/laifi/Keras-BigFive-personality-traits

Souravcool1996 commented 4 years ago

there seem to be quite a few issues apart from its incompatibility with python3. The data processing was very memory intensive. so @amirmohammadkz made some major improvements. I forked his repo and made it python3 compatible

Thanks for using my forked repo. Could you run the whole code, especially the Theano model, on python 3?

Yeah, I got it working running with Python3. The error about func_name was fixed by replacing it with name

could you upload the modified code?

Souravcool1996 commented 4 years ago

Your welcome :) Besides, we have implemented another model on this task which outperformed this model in both performance and accuracy on this dataset. If you are interested in its updates, you can send me a message.

Hello, Could you add the link or send me the updated code with improvements

Souravcool1996 commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

IndexError: list index out of range

amirmohammadkz commented 4 years ago

Your welcome :) Besides, we have implemented another model on this task which outperformed this model in both performance and accuracy on this dataset. If you are interested in its updates, you can send me a message.

Hello, Could you add the link or send me the updated code with improvements

We will publish it with the paper soon.

amirmohammadkz commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

IndexError: list index out of range

Could you please give us more information? The python file and error line?

Souravcool1996 commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

IndexError: list index out of range

Could you please give us more information? The python file and error line?

Screenshot from 2020-02-13 20-21-15

amirmohammadkz commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

IndexError: list index out of range

Could you please give us more information? The python file and error line?

Screenshot from 2020-02-13 20-21-15

Configure is not a terminal command. I meant that you must edit the ~./theanorc file. You can open it with nano or any other text editors. For example: nano ~./theanorc More information is here: http://deeplearning.net/software/theano/library/config.html If it solved your problem, we will be happy if you star our repo :)

Souravcool1996 commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

IndexError: list index out of range

Could you please give us more information? The python file and error line?

Screenshot from 2020-02-13 20-21-15

Configure is not a terminal command. I meant that you must edit the ~./theanorc file. You can open it with nano or any other text editors. For example: nano ~./theanorc More information is here: http://deeplearning.net/software/theano/library/config.html If it solved your problem, we will be happy if you star our repo :)

Screenshot from 2020-02-13 22-34-31 no such file or directory is there how to solve this issue

amirmohammadkz commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

IndexError: list index out of range

Could you please give us more information? The python file and error line?

Screenshot from 2020-02-13 20-21-15

Configure is not a terminal command. I meant that you must edit the ~./theanorc file. You can open it with nano or any other text editors. For example: nano ~./theanorc More information is here: http://deeplearning.net/software/theano/library/config.html If it solved your problem, we will be happy if you star our repo :)

Screenshot from 2020-02-13 22-34-31 no such file or directory is there how to solve this issue

Create it! That is theano configuration file.

Souravcool1996 commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

IndexError: list index out of range

Could you please give us more information? The python file and error line?

Screenshot from 2020-02-13 20-21-15

Configure is not a terminal command. I meant that you must edit the ~./theanorc file. You can open it with nano or any other text editors. For example: nano ~./theanorc More information is here: http://deeplearning.net/software/theano/library/config.html If it solved your problem, we will be happy if you star our repo :)

Screenshot from 2020-02-13 22-34-31 no such file or directory is there how to solve this issue

Create it! That is theano configuration file.

created but the process is killed again and again Screenshot from 2020-02-14 00-00-38

Souravcool1996 commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

IndexError: list index out of range

Could you please give us more information? The python file and error line?

Screenshot from 2020-02-13 20-21-15

Configure is not a terminal command. I meant that you must edit the ~./theanorc file. You can open it with nano or any other text editors. For example: nano ~./theanorc More information is here: http://deeplearning.net/software/theano/library/config.html If it solved your problem, we will be happy if you star our repo :)

created but the process is getting killed Screenshot from 2020-02-14 00-00-38

amirmohammadkz commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

IndexError: list index out of range

Could you please give us more information? The python file and error line?

Screenshot from 2020-02-13 20-21-15

Configure is not a terminal command. I meant that you must edit the ~./theanorc file. You can open it with nano or any other text editors. For example: nano ~./theanorc More information is here: http://deeplearning.net/software/theano/library/config.html If it solved your problem, we will be happy if you star our repo :)

created but the process is getting killed Screenshot from 2020-02-14 00-00-38

There might be many reasons for it, like insuffìcient memory. Try running the model with lower batch size (edit the python code).

Souravcool1996 commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

IndexError: list index out of range

Could you please give us more information? The python file and error line?

Screenshot from 2020-02-13 20-21-15

Configure is not a terminal command. I meant that you must edit the ~./theanorc file. You can open it with nano or any other text editors. For example: nano ~./theanorc More information is here: http://deeplearning.net/software/theano/library/config.html If it solved your problem, we will be happy if you star our repo :)

created but the process is getting killed Screenshot from 2020-02-14 00-00-38

There might be many reasons for it, like insuffìcient memory. Try running the model with lower batch size (edit the python code).

I did it with batch size 40 but still the process is getting killed

amirmohammadkz commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

IndexError: list index out of range

Could you please give us more information? The python file and error line?

Screenshot from 2020-02-13 20-21-15

Configure is not a terminal command. I meant that you must edit the ~./theanorc file. You can open it with nano or any other text editors. For example: nano ~./theanorc More information is here: http://deeplearning.net/software/theano/library/config.html If it solved your problem, we will be happy if you star our repo :)

created but the process is getting killed Screenshot from 2020-02-14 00-00-38

There might be many reasons for it, like insuffìcient memory. Try running the model with lower batch size (edit the python code).

I did it with batch size 40 but still the process is getting killed

try batch size 1 and if it works, increase it. I tested this model with 16gb memory.

Souravcool1996 commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

IndexError: list index out of range

Could you please give us more information? The python file and error line?

Screenshot from 2020-02-13 20-21-15

Configure is not a terminal command. I meant that you must edit the ~./theanorc file. You can open it with nano or any other text editors. For example: nano ~./theanorc More information is here: http://deeplearning.net/software/theano/library/config.html If it solved your problem, we will be happy if you star our repo :)

created but the process is getting killed Screenshot from 2020-02-14 00-00-38

There might be many reasons for it, like insuffìcient memory. Try running the model with lower batch size (edit the python code).

I did it with batch size 40 but still the process is getting killed

try batch size 1 and if it works, increase it. I tested this model with 16gb memory.

Screenshot from 2020-02-26 23-15-28 I once run the code on cpu with batch size one and when i tried to run it with gpu i am getting this error. python setup.py build after running this code i am getting the error

Souravcool1996 commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

IndexError: list index out of range

Could you please give us more information? The python file and error line?

Screenshot from 2020-02-13 20-21-15

Configure is not a terminal command. I meant that you must edit the ~./theanorc file. You can open it with nano or any other text editors. For example: nano ~./theanorc More information is here: http://deeplearning.net/software/theano/library/config.html If it solved your problem, we will be happy if you star our repo :)

created but the process is getting killed Screenshot from 2020-02-14 00-00-38

There might be many reasons for it, like insuffìcient memory. Try running the model with lower batch size (edit the python code).

I did it with batch size 40 but still the process is getting killed

try batch size 1 and if it works, increase it. I tested this model with 16gb memory.

Screenshot from 2020-02-26 23-15-28 I once run the code on cpu with batch size one and when i tried to run it with gpu i am getting this error. python setup.py build after running this code i am getting the error

one more doubt is that if i completely run the code using cpu what to do after completing training process or training output is the final result

Souravcool1996 commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

IndexError: list index out of range

Could you please give us more information? The python file and error line?

Screenshot from 2020-02-13 20-21-15

Configure is not a terminal command. I meant that you must edit the ~./theanorc file. You can open it with nano or any other text editors. For example: nano ~./theanorc More information is here: http://deeplearning.net/software/theano/library/config.html If it solved your problem, we will be happy if you star our repo :)

created but the process is getting killed Screenshot from 2020-02-14 00-00-38

There might be many reasons for it, like insuffìcient memory. Try running the model with lower batch size (edit the python code).

I did it with batch size 40 but still the process is getting killed

try batch size 1 and if it works, increase it. I tested this model with 16gb memory.

Help me regarding the issue posted above

amirmohammadkz commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

IndexError: list index out of range

Could you please give us more information? The python file and error line?

Screenshot from 2020-02-13 20-21-15

Configure is not a terminal command. I meant that you must edit the ~./theanorc file. You can open it with nano or any other text editors. For example: nano ~./theanorc More information is here: http://deeplearning.net/software/theano/library/config.html If it solved your problem, we will be happy if you star our repo :)

created but the process is getting killed Screenshot from 2020-02-14 00-00-38

There might be many reasons for it, like insuffìcient memory. Try running the model with lower batch size (edit the python code).

I did it with batch size 40 but still the process is getting killed

try batch size 1 and if it works, increase it. I tested this model with 16gb memory.

Screenshot from 2020-02-26 23-15-28 I once run the code on cpu with batch size one and when i tried to run it with gpu i am getting this error. python setup.py build after running this code i am getting the error

one more doubt is that if i completely run the code using cpu what to do after completing training process or training output is the final result

The code evaluates the model on the test set and reports the result. If you want to use the trained model for another dataset, you can change it yourself

amirmohammadkz commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

IndexError: list index out of range

Could you please give us more information? The python file and error line?

Screenshot from 2020-02-13 20-21-15

Configure is not a terminal command. I meant that you must edit the ~./theanorc file. You can open it with nano or any other text editors. For example: nano ~./theanorc More information is here: http://deeplearning.net/software/theano/library/config.html If it solved your problem, we will be happy if you star our repo :)

created but the process is getting killed Screenshot from 2020-02-14 00-00-38

There might be many reasons for it, like insuffìcient memory. Try running the model with lower batch size (edit the python code).

I did it with batch size 40 but still the process is getting killed

try batch size 1 and if it works, increase it. I tested this model with 16gb memory.

Help me regarding the issue posted above

https://stackoverflow.com/a/726762/5661543

amirmohammadkz commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

IndexError: list index out of range

Could you please give us more information? The python file and error line?

Screenshot from 2020-02-13 20-21-15

Configure is not a terminal command. I meant that you must edit the ~./theanorc file. You can open it with nano or any other text editors. For example: nano ~./theanorc More information is here: http://deeplearning.net/software/theano/library/config.html If it solved your problem, we will be happy if you star our repo :)

created but the process is getting killed Screenshot from 2020-02-14 00-00-38

There might be many reasons for it, like insuffìcient memory. Try running the model with lower batch size (edit the python code).

I did it with batch size 40 but still the process is getting killed

try batch size 1 and if it works, increase it. I tested this model with 16gb memory.

Screenshot from 2020-02-26 23-15-28 I once run the code on cpu with batch size one and when i tried to run it with gpu i am getting this error. python setup.py build after running this code i am getting the error

I recommend you to ask your question with full detail in the related repository: https://github.com/Theano/libgpuarray/issues

Souravcool1996 commented 4 years ago

The Keras code is written in python3. And a preprosessing python file is also added for it. So, you can enjoy using it without any modification :)

IndexError: list index out of range

Could you please give us more information? The python file and error line?

Screenshot from 2020-02-13 20-21-15

Configure is not a terminal command. I meant that you must edit the ~./theanorc file. You can open it with nano or any other text editors. For example: nano ~./theanorc More information is here: http://deeplearning.net/software/theano/library/config.html If it solved your problem, we will be happy if you star our repo :)

created but the process is getting killed Screenshot from 2020-02-14 00-00-38

There might be many reasons for it, like insuffìcient memory. Try running the model with lower batch size (edit the python code).

I did it with batch size 40 but still the process is getting killed

try batch size 1 and if it works, increase it. I tested this model with 16gb memory.

Screenshot from 2020-02-26 23-15-28 I once run the code on cpu with batch size one and when i tried to run it with gpu i am getting this error. python setup.py build after running this code i am getting the error

I recommend you to ask your question with full detail in the related repository: https://github.com/Theano/libgpuarray/issues

I have trained the model. Now my doubt is what is the command to test the model. Is it like python filname.py or we have to write some lines after filename.py.

amirmohammadkz commented 4 years ago

Everything is available from here

amirmohammadkz commented 3 years ago

Hello, If you are looking for a faster version of personality detection with python 3 compatibility, our new paper, and its code is available here: https://github.com/amirmohammadkz/personality_detection

The code is significantly faster and can be run on a regular computer/laptop. The accuracies are higher too.