{"action":"created","issue":{"url":"https://api.github.com/repos/openai/InfoGAN/issues/19","repository_url":"https://api.github.com/repos/openai/InfoGAN","labels_url":"https://api.github.com/repos/openai/InfoGAN/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/openai/InfoGAN/issues/19/comments","events_url":"https://api.github.com/repos/openai/InfoGAN/issues/19/events","html_url":"https://github.com/openai/InfoGAN/issues/19","id":200859552,"number":19,"title":"The  commond  line \"python launchers/run_mnist_exp.py\" couldn't be excuted successfully","user":{"login":"bin913","id":16409366,"avatar_url":"https://avatars2.githubusercontent.com/u/16409366?v=3","gravatar_id":"","url":"https://api.github.com/users/bin913","html_url":"https://github.com/bin913","followers_url":"https://api.github.com/users/bin913/followers","following_url":"https://api.github.com/users/bin913/following{/other_user}","gists_url":"https://api.github.com/users/bin913/gists{/gist_id}","starred_url":"https://api.github.com/users/bin913/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bin913/subscriptions","organizations_url":"https://api.github.com/users/bin913/orgs","repos_url":"https://api.github.com/users/bin913/repos","events_url":"https://api.github.com/users/bin913/events{/privacy}","received_events_url":"https://api.github.com/users/bin913/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-01-15T09:57:45Z","updated_at":"2017-04-05T03:24:58Z","closed_at":null,"body":"root@1b0611ffe472:/InfoGAN# PYTHONPATH='.' python launchers/run_mnist_exp.py\r\nExtracting MNIST/train-images-idx3-ubyte.gz\r\nExtracting MNIST/train-labels-idx1-ubyte.gz\r\nExtracting MNIST/t10k-images-idx3-ubyte.gz\r\nExtracting MNIST/t10k-labels-idx1-ubyte.gz\r\n--Return--\r\nNone\r\n> /InfoGAN/infogan/misc/custom_ops.py(121)__call__()\r\n    119                 return input_layer.with_tensor(tf.matmul(input_, matrix) + bias, parameters=self.vars)\r\n    120         except Exception:\r\n--> 121             import ipdb; ipdb.set_trace()\r\n\r\nipdb> \r\n"},"comment":{"url":"https://api.github.com/repos/openai/InfoGAN/issues/comments/291738842","html_url":"https://github.com/openai/InfoGAN/issues/19#issuecomment-291738842","issue_url":"https://api.github.com/repos/openai/InfoGAN/issues/19","id":291738842,"user":{"login":"aday00","id":811287,"avatar_url":"https://avatars1.githubusercontent.com/u/811287?v=3","gravatar_id":"","url":"https://api.github.com/users/aday00","html_url":"https://github.com/aday00","followers_url":"https://api.github.com/users/aday00/followers","following_url":"https://api.github.com/users/aday00/following{/other_user}","gists_url":"https://api.github.com/users/aday00/gists{/gist_id}","starred_url":"https://api.github.com/users/aday00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aday00/subscriptions","organizations_url":"https://api.github.com/users/aday00/orgs","repos_url":"https://api.github.com/users/aday00/repos","events_url":"https://api.github.com/users/aday00/events{/privacy}","received_events_url":"https://api.github.com/users/aday00/received_events","type":"User","site_admin":false},"created_at":"2017-04-05T03:24:58Z","updated_at":"2017-04-05T03:24:58Z","body":"Many thanks @tlbtlbtlb for such sustained help!  The InfoGAN README says \"As of the release, the latest commit is 79174a.\", which links to https://github.com/tensorflow/tensorflow/commit/79174afa30046ecdc437b531812f2cb41a32695e so I used that sha256.\r\n\r\nI'm not sure how to read the github page https://github.com/tensorflow/tensorflow/commit/79174afa30046ecdc437b531812f2cb41a32695e for that commit, but maybe this suggests the commit is in tagged releases v1.1.0-rc1 through 0.12.0-rc0.  Should I try the latest tag with this commit:\r\n\r\n$ docker run -v $(pwd)/InfoGAN:/InfoGAN -w /InfoGAN -it -p 8888:8888 gcr.io/tensorflow/tensorflow:1.1.0-rc1-devel\r\nUnable to find image 'gcr.io/tensorflow/tensorflow:1.1.0-rc1-devel' locally\r\nPulling repository gcr.io/tensorflow/tensorflow\r\nTag 1.1.0-rc1-devel not found in repository gcr.io/tensorflow/tensorflow\r\n\r\nHow about rc0 instead of rc1?\r\n\r\n$ docker run -v $(pwd)/InfoGAN:/InfoGAN -w /InfoGAN -it -p 8888:8888 gcr.io/tensorflow/tensorflow:1.1.0-rc0-devel\r\nUnable to find image 'gcr.io/tensorflow/tensorflow:1.1.0-rc0-devel' locally\r\n1.1.0-rc0-devel: Pulling from gcr.io/tensorflow/tensorflow\r\nbdb22cfb4841: Pull complete \r\n...\r\n5e3e8ad665c0: Already exists \r\nDigest: sha256:6733a48dcbccb32c3f74f06a435ea282d51e2832663e522b5d3e3fc33ca7f543\r\nStatus: Downloaded newer image for gcr.io/tensorflow/tensorflow:1.1.0-rc0-devel\r\n\r\nroot@e3c5e3fbc391:/InfoGAN# pip install -r requirements.txt\r\n\r\nroot@e3c5e3fbc391:/InfoGAN# export PYTHONPATH=`pwd`\r\nroot@e3c5e3fbc391:/InfoGAN# python launchers/run_mnist_exp.py\r\nExtracting MNIST/train-images-idx3-ubyte.gz\r\nExtracting MNIST/train-labels-idx1-ubyte.gz\r\nExtracting MNIST/t10k-images-idx3-ubyte.gz\r\nExtracting MNIST/t10k-labels-idx1-ubyte.gz\r\nTraceback (most recent call last):\r\n  File \"launchers/run_mnist_exp.py\", line 65, in <module>\r\n    algo.train()\r\n  File \"/InfoGAN/infogan/algos/infogan_trainer.py\", line 210, in train\r\n    self.init_opt()\r\n  File \"/InfoGAN/infogan/algos/infogan_trainer.py\", line 51, in init_opt\r\n    z_var = self.model.latent_dist.sample_prior(self.batch_size)\r\n  File \"/InfoGAN/infogan/misc/distributions.py\", line 443, in sample_prior\r\n    return tf.concat(1, ret)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/array_ops.py\", line 1029, in concat\r\n    dtype=dtypes.int32).get_shape(\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py\", line 639, in convert_to_tensor\r\n    as_ref=False)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py\", line 704, in internal_convert_to_tensor\r\n    ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/constant_op.py\", line 113, in _constant_tensor_conversion_function\r\n    return constant(v, dtype=dtype, name=name)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/constant_op.py\", line 102, in constant\r\n    tensor_util.make_tensor_proto(value, dtype=dtype, shape=shape, verify_shape=verify_shape))\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/tensor_util.py\", line 370, in make_tensor_proto\r\n    _AssertCompatible(values, dtype)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/tensor_util.py\", line 302, in _AssertCompatible\r\n    (dtype.name, repr(mismatch), type(mismatch).__name__))\r\nTypeError: Expected int32, got list containing Tensors of type '_Message' instead.\r\n\r\nSame issue.\r\n\r\n"}}
{"actor":{"display_login":"aday00"}}