MLH-Fellowship / Social-BERTerfly

Finding your MBTI personality type based on your Twitter activity using BERT
MIT License
92 stars 32 forks source link

ValueError: Cannot assign to variable tf_bert_model/bert/encoder/layer_._0/attention/self/query/kernel:0 due to variable shape (768, 12, 64) and value shape (768, 768) are incompatible #23

Closed ShubhVats closed 3 years ago

ShubhVats commented 3 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

rasikaburde10 commented 3 years ago

I am also getting the same issue, how to resolve it?

ShubhVats commented 3 years ago

I haven't been able to resolve it myself. If you get any answers please let me know.

On Sat, 3 Apr, 2021, 6:10 pm rasikaburde10, @.***> wrote:

I am also getting the same issue, how to resolve it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MLH-Fellowship/Social-BERTerfly/issues/23#issuecomment-812860104, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASTOB5MX27WTDKQV3KK4S2LTG4EDFANCNFSM4WT6XBNA .

V2dha commented 3 years ago

It might be due to wrong version of tensorflow. The project uses Tensorflow==2.3.1 as mentioned in the requirements.txt. Try to install the same version of packages used in the project by running pip install -r requirements.txt

ShubhVats commented 3 years ago

Gee thanks👍

On Sun, 4 Apr, 2021, 11:04 pm Vividha, @.***> wrote:

Closed #23 https://github.com/MLH-Fellowship/Social-BERTerfly/issues/23.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MLH-Fellowship/Social-BERTerfly/issues/23#event-4549332986, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASTOB5JRCRKJQNVWNLUAVFDTHCPJDANCNFSM4WT6XBNA .