Code Monkey home page Code Monkey logo

video-snapshot's People

Contributors

chuchienshu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

video-snapshot's Issues

Interpolation Module

In the paper, you mentioned an interpolation module after the decoder. I was looking through the model.py code and cannot seem to find the implementation for this. The def decode(latents, out_channels, is_train=False, reuse=False): function seems to only be the decoder itself (before the interpolation).

Is my understanding correct? Is there an implementation of this module somewhere in the repo, or could you share the implementation for this? Thank you!

Embedding Loss threshold matrix

In the paper, you stated that the embedding loss includes a threshold matrix with \theta = 90.
May I know if this 90 means pixel value in the range [0,255] or a
constant element-wise value 90 despite any tensor normalization?

Error when running in the "decode" mode

Hi all,

I got this error when running under the decode mode:

Caused by op 'decode/out/Conv2D', defined at:
  File "inference.py", line 116, in <module>    evaluate( checkpoint_dir, RUN_Encoder=False)  File "inference.py", line 53, in evaluate
    restored_imgs = decode(embed_batch, out_channels, is_train=False, reuse=False)
  File "/disk1/user1/research/snapshot/Video-Snapshot/model.py", line 187, in decode
    n = Conv2d(n, out_channels, filter_size=1, strides=1, padding='SAME', name='out')
  File "/disk1/user1/research/snapshot/Video-Snapshot/model.py", line 13, in Conv2d
    conv = tf.nn.conv2d(batch_input, filters, [1, strides, strides, 1], padding=padding)
  File "/home/user1/anaconda3/envs/tf/lib/python3.5/site-packages/tensorflow/python/ops/gen_nn_ops.py", line 631, in conv2d    data_format=data_format, dilations=dilations, name=name)
  File "/home/user1/anaconda3/envs/tf/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
    op_def=op_def)
  File "/home/user1/anaconda3/envs/tf/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 3271, in create_op    op_def=op_def)  File "/home/user1/anaconda3/envs/tf/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1650, in __init__
    self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access

InternalError (see above for traceback): Blas SGEMM launch failed : m=408960, n=27, k=256
         [[Node: decode/out/Conv2D = Conv2D[T=DT_FLOAT, data_format="NHWC", dilations=[1, 1, 1, 1], padding="SAME", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](decode/n256s1/2/Conv2D, decode/out/filter/read)]]

But running under embedding mode is okay. Could you help with this issue? Thanks!

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.