Code Monkey home page Code Monkey logo

Comments (8)

Chung-I avatar Chung-I commented on June 7, 2024 2

Hi @robinsloan , thank you for starring this repo :-) Yes, I've also encountered this error on my two machines. One of my machine continued to run at both train and test time despite the error, while the other halted. I still couldn't figure out why. Plus, the code inside is still buggy, so very likely I'll rewrite the whole code based on tensorflow's seq2seq example before 12/17. Sorry for that bug.

from variational-recurrent-autoencoder-tensorflow.

Chung-I avatar Chung-I commented on June 7, 2024 1

@gourango01 sorry for that, but this repo has been abandoned, and I'm working on another repo implementing Variational Recurrent Autoencoder based on tensorflow's seq2seq example. I have a workable version of the repo in my local, but I haven't finished the docs yet, and currently the code on master is not runnable. I'll update that ASAP.

from variational-recurrent-autoencoder-tensorflow.

gourango01 avatar gourango01 commented on June 7, 2024

@Chung-I have you modified the code to avoid error pointed by the @robinsloan because i am getting following error on during test time while running main.py

Epoch: 1 test Variational Lower Bound: -8589851.262
Epoch: 1 test KL divergence: -4416.019
Epoch: 1 test reconstruction costs: -334426.830
outputfile created

InvalidArgumentError (see above for traceback): You must feed a value for placeholder tensor 'Train/Model/Placeholder' with dtype int32 and shape [128,5]
[[Node: Train/Model/Placeholder = Placeholder dtype=DT_INT32, shape=[128,5], _device="/job:localhost/replica:0/task:0/cpu:0"]]

One more question, which version of tensorflow are you using?

from variational-recurrent-autoencoder-tensorflow.

robinsloan avatar robinsloan commented on June 7, 2024

@Chung-I It looks like you've published something new -- this is exciting! I'm eager to try it out.

from variational-recurrent-autoencoder-tensorflow.

Chung-I avatar Chung-I commented on June 7, 2024

@robinsloan thanks for patiently waiting. I've updated the README.md. Please let me know if there's any bug.

from variational-recurrent-autoencoder-tensorflow.

gourango01 avatar gourango01 commented on June 7, 2024

@Chung-I when i use multiple buckets instead of one,for ex. "buckets": [[5,6],[10,11],[15,16],[20,21],[57,58]] then code works fine during training, even though placeholders for encoder_input and decoder_input is initialised corresponding to the largest bucket(in above ex. [57,58]) and code executes through the step() function in seq2seq_model.py. But things stop working for sample or interpolate mode and getting placeholder error, expecting input equivalent to the largest bucket size. For ex. for sentence of length 6: "link to apply for MS admissions", it maps to second bucket in above list and getting following error:
You must feed a value for placeholder tensor 'encoder10' with dtype int32
[[Node: encoder10 = Placeholder dtype=DT_INT32, shape=[], _device="/job:localhost/replica:0/task:0/cpu:0"]]

from variational-recurrent-autoencoder-tensorflow.

Chung-I avatar Chung-I commented on June 7, 2024

@gourango01 Thanks for the bug report. I've pushed some code that should fixed the bug.

from variational-recurrent-autoencoder-tensorflow.

 avatar commented on June 7, 2024

@Chung-I I wonder whether you have got this kind of error: FailedPreconditionError (see above for traceback): Attempting to use uninitialized value enc_embedding? And what is the main difference between this repo and the new one? I have taken a glance at that. Seems they have similar skeleton. Thanks!

from variational-recurrent-autoencoder-tensorflow.

Related Issues (7)

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.