GithubHelp home page GithubHelp logo

Comments (3)

josh-gree avatar josh-gree commented on July 26, 2024

Hi, thanks for making this available! I really would like to make use of the tweet embeddings but I am getting the same error as above. I will try to fix myself but would be great if you could help since I believe its probably just an error in the config variables...My error logs are below;

2017-03-02 20:20:47,445 - utils - INFO - Loading Data from: /res/tweets.json
2017-03-02 20:20:47,445 - utils - ERROR - Could not read data:[Errno 2] No such file or directory: '/res/tweets.json'
2017-03-02 20:20:47,445 - utils - INFO - Loading Data from path: /home/josh/Tweet2Vec/all_data/models/tweet2vec/new_model//encoding_new_model_3.npy

from tweet2vec.

jagsileo avatar jagsileo commented on July 26, 2024

I did not specify any output file, i.e., I removed the part -o /res/outputfilename.npy, it created a folder inside all_data called outputs

from tweet2vec.

dupsys avatar dupsys commented on July 26, 2024

hi,
In your code specifically in Tweet2vec-master/model/t2v.py after the second LSTM layer, please can you to explain future why the used of Reshape upon the output of the LSTM layer? I have this in my code:

Second LSTM for encoding and decoding
l_decoder_1 = LSTM(256, return_sequences=True)(l_in_rep)
l_decoder_2 = LSTM(256, return_sequences=True)(l_decoder_1)
fc_layer = Dense(vocab_size,activation='relu')(l_decoder_2)
drop1_out = Dropout(0.5)(fc_layer)
fc_layer = Dense(vocab_size,activation='softmax')(drop1_out)

Thank you.

from tweet2vec.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.