Comments (31)
Yes I understood that the param are from 0 to 4. But I see only this statement:
python conv_layer_train.py -static -word2vec 2
which I guess is for training only. How the predict statement works. Kindly add it in the Read.me file of your repository.
All the Best for your Submissions.
from personality-detection.
ok i will try .
thank you
from personality-detection.
Is there any one please guide me?
from personality-detection.
Dear Jaffer,
Sorry for belated response. We were all busy with AAAI submissions. The param to select different trait varies from 0 to 4.
from personality-detection.
Second'ing Jaffer's comment;
Your readme only contains instructions for pre-processing & training. Could you update it to reflect how to actually detect personality traits when given text data?
from personality-detection.
@advanced4 I didn't got you. Can you please make me understand what you in need of?
from personality-detection.
@JafferWilson you solve the python conv_layer_train.py -static -word2vec 2 ?
i got error
Traceback (most recent call last):
File "conv_net_train.py", line 476, in
activations=[Sigmoid])
File "conv_net_train.py", line 179, in train_conv_net
allow_input_downcast = True)
File "/home/zinal/.local/lib/python2.7/site-packages/theano/compile/function.py", line 266, in function
profile=profile)
File "/home/zinal/.local/lib/python2.7/site-packages/theano/compile/pfunc.py", line 489, in pfunc
no_default_updates=no_default_updates)
File "/home/zinal/.local/lib/python2.7/site-packages/theano/compile/pfunc.py", line 241, in rebuild_collect_shared
cloned_v = clone_v_get_shared_updates(outputs, copy_inputs_over)
File "/home/zinal/.local/lib/python2.7/site-packages/theano/compile/pfunc.py", line 92, in clone_v_get_shared_updates
clone_a(v.owner, copy_inputs_over)
File "/home/zinal/.local/lib/python2.7/site-packages/theano/compile/pfunc.py", line 131, in clone_a
clone_v_get_shared_updates(i, copy_inputs_over)
File "/home/zinal/.local/lib/python2.7/site-packages/theano/compile/pfunc.py", line 92, in clone_v_get_shared_updates
clone_a(v.owner, copy_inputs_over)
File "/home/zinal/.local/lib/python2.7/site-packages/theano/compile/pfunc.py", line 131, in clone_a
clone_v_get_shared_updates(i, copy_inputs_over)
File "/home/zinal/.local/lib/python2.7/site-packages/theano/compile/pfunc.py", line 92, in clone_v_get_shared_updates
clone_a(v.owner, copy_inputs_over)
File "/home/zinal/.local/lib/python2.7/site-packages/theano/compile/pfunc.py", line 131, in clone_a
clone_v_get_shared_updates(i, copy_inputs_over)
File "/home/zinal/.local/lib/python2.7/site-packages/theano/compile/pfunc.py", line 92, in clone_v_get_shared_updates
clone_a(v.owner, copy_inputs_over)
File "/home/zinal/.local/lib/python2.7/site-packages/theano/compile/pfunc.py", line 131, in clone_a
clone_v_get_shared_updates(i, copy_inputs_over)
File "/home/zinal/.local/lib/python2.7/site-packages/theano/compile/pfunc.py", line 92, in clone_v_get_shared_updates
clone_a(v.owner, copy_inputs_over)
File "/home/zinal/.local/lib/python2.7/site-packages/theano/compile/pfunc.py", line 131, in clone_a
clone_v_get_shared_updates(i, copy_inputs_over)
File "/home/zinal/.local/lib/python2.7/site-packages/theano/compile/pfunc.py", line 92, in clone_v_get_shared_updates
clone_a(v.owner, copy_inputs_over)
can u please help me i did't understand the error .. i
from personality-detection.
@naikzinal What is the version of your Theano library?
I guess the issue is due to the recent library used, the updated one.
from personality-detection.
dear jafferWilson i have check my theano version still i have that issue .
can you please help me.
thank you
from personality-detection.
@naikzinal What is the version?
from personality-detection.
@JafferWilson theano 0.7
from personality-detection.
@JafferWilson but i dont understand the meaning theano 0.7(tested) what is the meaning of tested?
from personality-detection.
@naikzinal I guess, you need a fresh installation. Please try using some other system and then use it. I don't find any problem if your version is correct.
from personality-detection.
which kind of system you used for run the code? @JafferWilson
from personality-detection.
@naikzinal I have used my Virtual box or Virtual Machine with ubuntu 16.04(updated). What system you have tried?
from personality-detection.
i also use ubuntu 16.04. @JafferWilson
from personality-detection.
@naikzinal Try once again with fresh installation. Better use VM for your experiment then on the right machine.
from personality-detection.
heloo, while running the conv_net_train.py i found the error
loading data... data loaded!
model architecture: CNN-static
using: word2vec vectors
[('image shape', 153, 300), ('filter shape', [(200, 1, 1, 300), (200, 1, 2, 300), (200, 1, 3, 300)]), ('hidden_units', [200, 200, 2]), ('dropout', [0.5, 0.5, 0.5]), ('batch_size', 50), ('non_static', False), ('learn_decay', 0.95), ('conv_non_linear', 'relu'), ('non_static', False), ('sqr_norm_lim', 9), ('shuffle_batch', True)]
Traceback (most recent call last):
File "conv_net_train.py", line 477, in
activations=[Sigmoid])
File "conv_net_train.py", line 123, in train_conv_net
conv_feats, _ = theano.scan(fn= convolve_user_statuses, sequences= layer0_input)
File "/usr/local/lib/python2.7/dist-packages/theano/scan_module/scan.py", line 745, in scan
condition, outputs, updates = scan_utils.get_updates_and_outputs(fn(*args))
File "conv_net_train.py", line 115, in convolve_user_statuses
layer1_inputs.append(conv_layer.set_input(input=relv_input).flatten(2))
File "conv_net_classes.py", line 393, in set_input
conv_out = conv.conv2d(input=input, filters=self.W,filter_shape=self.filter_shape, image_shape=self.image_shape)
File "/usr/local/lib/python2.7/dist-packages/theano/tensor/nnet/conv.py", line 151, in conv2d
return op(input, filters)
File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call
node = self.make_node(*inputs, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/theano/tensor/nnet/conv.py", line 628, in make_node
"inputs(%s), kerns(%s)" % (_inputs.dtype, _kerns.dtype))
NotImplementedError: The image and the kernel must have the same type.inputs(float64), kerns(float32)
please any one can help me.
thank you
from personality-detection.
dear @JafferWilson
heloo, while running the conv_net_train.py i found the error
loading data... data loaded!
model architecture: CNN-static
using: word2vec vectors
[('image shape', 153, 300), ('filter shape', [(200, 1, 1, 300), (200, 1, 2, 300), (200, 1, 3, 300)]), ('hidden_units', [200, 200, 2]), ('dropout', [0.5, 0.5, 0.5]), ('batch_size', 50), ('non_static', False), ('learn_decay', 0.95), ('conv_non_linear', 'relu'), ('non_static', False), ('sqr_norm_lim', 9), ('shuffle_batch', True)]
Traceback (most recent call last):
File "conv_net_train.py", line 477, in
activations=[Sigmoid])
File "conv_net_train.py", line 123, in train_conv_net
conv_feats, _ = theano.scan(fn= convolve_user_statuses, sequences= layer0_input)
File "/usr/local/lib/python2.7/dist-packages/theano/scan_module/scan.py", line 745, in scan
condition, outputs, updates = scan_utils.get_updates_and_outputs(fn(*args))
File "conv_net_train.py", line 115, in convolve_user_statuses
layer1_inputs.append(conv_layer.set_input(input=relv_input).flatten(2))
File "conv_net_classes.py", line 393, in set_input
conv_out = conv.conv2d(input=input, filters=self.W,filter_shape=self.filter_shape, image_shape=self.image_shape)
File "/usr/local/lib/python2.7/dist-packages/theano/tensor/nnet/conv.py", line 151, in conv2d
return op(input, filters)
File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call
node = self.make_node(*inputs, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/theano/tensor/nnet/conv.py", line 628, in make_node
"inputs(%s), kerns(%s)" % (_inputs.dtype, _kerns.dtype))
NotImplementedError: The image and the kernel must have the same type.inputs(float64), kerns(float32)
And i want to know that which device you used for run the code gpu or cpu?i think i have a problem in Theanorc file what is yr configuration for Theanorc file?
thank you
from personality-detection.
My system works on CPU and GPU. But I ran the process on CPU.
from personality-detection.
@JafferWilson ok, thank you for a reply.
what is your theanorc file configuration?
from personality-detection.
@JafferWilson Did you got output after running the conv_net_train.py? I am struck ed in this step.can you please help.
Thanks in advance.
from personality-detection.
@radhikakuttala I tried it way before.. Now I do not have anything. Frankly, its results wasted time. Hence, do not want to discuss about it. For your answer, yes I got the output.
from personality-detection.
Hi Guys
While running the conv_net_train.py I found the error
loading data... data loaded!
model architecture: CNN-static
using: word2vec vectors
[('image shape', 153, 300), ('filter shape', [(200, 1, 1, 300), (200, 1, 2, 300), (200, 1, 3, 300)]), ('hidden_units', [200, 200, 2]), ('dropout', [0.5, 0.5, 0.5]), ('batch_size', 50), ('non_static', False), ('learn_decay', 0.95), ('conv_non_linear', 'relu'), ('non_static', False), ('sqr_norm_lim', 9), ('shuffle_batch', True)]
Traceback (most recent call last):
File "conv_net_train.py", line 477, in
activations=[Sigmoid])
File "conv_net_train.py", line 123, in train_conv_net
conv_feats, _ = theano.scan(fn= convolve_user_statuses, sequences= layer0_input)
File "/usr/local/lib/python2.7/dist-packages/theano/scan_module/scan.py", line 745, in scan
condition, outputs, updates = scan_utils.get_updates_and_outputs(fn(*args))
File "conv_net_train.py", line 115, in convolve_user_statuses
layer1_inputs.append(conv_layer.set_input(input=relv_input).flatten(2))
File "conv_net_classes.py", line 393, in set_input
conv_out = conv.conv2d(input=input, filters=self.W,filter_shape=self.filter_shape, image_shape=self.image_shape)
File "/usr/local/lib/python2.7/dist-packages/theano/tensor/nnet/conv.py", line 151, in conv2d
return op(input, filters)
File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call
node = self.make_node(*inputs, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/theano/tensor/nnet/conv.py", line 628, in make_node
"inputs(%s), kerns(%s)" % (_inputs.dtype, _kerns.dtype))
NotImplementedError: The image and the kernel must have the same type.inputs(float64), kerns(float32)
I am using theano 0.7, pandas 0.18.0 and Python 2.7 ( which is mentioned in the read me file). I have tried all combinations of these three ( Python 2.7 and 3.5), Theano ( 0.7,0.8,0.9,1.0) and pandas( 0.18.0,0.22.0)
Can you help me with this issue ?
Also how can I use these to get all the five personality traits in one go using the trained model ?
Thanks for your help!
Nitin
from personality-detection.
@JafferWilson Are you able to find the answer to this issue? Can you please share it with us.
from personality-detection.
this is exactly what i want @JafferWilson
how to use and predict all the five traits throws this code
if you found or create any solution for this problem
from personality-detection.
Hi @SenticNet i read your papers and do my effort to run the code but i have some questions
1)what is content of mairesse file and how get it
2)how use this code to get big five traits through text input
from personality-detection.
Hi @JafferWilson did you found any solution to your problem
from personality-detection.
from personality-detection.
Please check the pre-processing section of readme to know about the generation of mairesse feature.
from personality-detection.
Hi @JafferWilson,
if you can help me please with the code used to predict the five traits using trained model.
@SenticNet
from personality-detection.
Related Issues (20)
- how get mairesse file HOT 2
- could not decrease loss function
- Preprocessing Never Terminating
- process_data.py运行最后报memoryError,我是8G,怎么解决?
- Process_data.py run error, display memoryError, I use win10, 8G memory, how to solve? HOT 6
- What should be the input data for test?
- How to run this project please send step by step
- naming conventions in the code. HOT 1
- Will you create a Python 3 version of this? Thank you! HOT 3
- Test Data HOT 1
- 'function' object has no attribute 'func_name' HOT 3
- Python 3 HOT 45
- TypeError: Cannot convert Type TensorType(float64, matrix) (of Variable Subtensor{int64:int64:}.0) into Type TensorType(float32, matrix). You can try to manually convert Subtensor{int64:int64:}.0 into a TensorType(float32, matrix). HOT 2
- Unable to configure cpu
- Issue with executing conv_net_train.py HOT 31
- process_data.py with GoogleNews-vectors-negative300.bin.gz file HOT 1
- TypeError: expected str, bytes or os.PathLike object, not Word2VecKeyedVectors while loading GoogleNews-vectors-negative300-SLIM.bin file
- How to use the trained model to predict the personality score? HOT 1
- MemoryError: Apply node that caused the error: AdvancedSubtensor1(Words, Elemwise{Cast{int32}}.0) HOT 1
- #include<iostream> #include
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from personality-detection.