Coder Social home page Coder Social logo

semisupervised_vae's Issues

error running train_vae.py and train_classifier.py

Hello,

Trying to run the program, I face the following error:
I am using tensorflow v 0.12.0-rc1. before that when I was on version 0.11, I got another error as indicated here.

The message for the current error is:

WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/prettytensor/bookkeeper.py:258 in add_histogram_summary.: histogram_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.histogram. Note that tf.summary.histogram uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on their scope. WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/prettytensor/bookkeeper.py:258 in add_histogram_summary.: histogram_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.histogram. Note that tf.summary.histogram uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on their scope. WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/prettytensor/bookkeeper.py:258 in add_histogram_summary.: histogram_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.histogram. Note that tf.summary.histogram uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on their scope. WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/prettytensor/bookkeeper.py:258 in add_histogram_summary.: histogram_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.histogram. Note that tf.summary.histogram uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on their scope. WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/prettytensor/bookkeeper.py:258 in add_histogram_summary.: histogram_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.histogram. Note that tf.summary.histogram uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on their scope. WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/prettytensor/bookkeeper.py:258 in add_histogram_summary.: histogram_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.histogram. Note that tf.summary.histogram uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on their scope. WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/prettytensor/bookkeeper.py:258 in add_histogram_summary.: histogram_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.histogram. Note that tf.summary.histogram uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on their scope. WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/prettytensor/bookkeeper.py:258 in add_histogram_summary.: histogram_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.histogram. Note that tf.summary.histogram uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on their scope. WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/prettytensor/bookkeeper.py:258 in add_histogram_summary.: histogram_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.histogram. Note that tf.summary.histogram uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on their scope. WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/prettytensor/bookkeeper.py:258 in add_histogram_summary.: histogram_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.histogram. Note that tf.summary.histogram uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on their scope. WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/prettytensor/bookkeeper.py:258 in add_histogram_summary.: histogram_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.histogram. Note that tf.summary.histogram uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on their scope. WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/prettytensor/bookkeeper.py:258 in add_histogram_summary.: histogram_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.histogram. Note that tf.summary.histogram uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on their scope. WARNING:tensorflow:From /home/mdh/semisupervised_vae/vae.py:158 in train.: initialize_all_variables (from tensorflow.python.ops.variables) is deprecated and will be removed after 2017-03-02. Instructions for updating: Use tf.global_variables_initializerinstead. Traceback (most recent call last): File "train_vae.py", line 51, in <module> learning_rate = learning_rate, seed = seed, stop_iter = 30, print_every = 10, draw_img = 0 ) File "/home/mdh/semisupervised_vae/vae.py", line 206, in train self.saver.save( sess, self.save_path ) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1314, in save "Parent directory of {} doesn't exist, can't save.".format(save_path)) ValueError: Parent directory of checkpoints/model_VAE_0.0003-50_1481835936.26.cpkt doesn't exist, can't save.

Low accuracy of M2

I got very low accuracy using your model, and only get accurcy of 11.2% like a random guess. I'm curious of what's happening?

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.