{"action":"created","issue":{"url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/899","repository_url":"https://api.github.com/repos/tensorlayer/tensorlayer","labels_url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/899/labels{/name}","comments_url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/899/comments","events_url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/899/events","html_url":"https://github.com/tensorlayer/tensorlayer/issues/899","id":384868550,"node_id":"MDU6SXNzdWUzODQ4Njg1NTA=","number":899,"title":"Bug in UpSampling2dLayer，tf.shape(xxx) will get None axis","user":{"login":"One-sixth","id":23693633,"node_id":"MDQ6VXNlcjIzNjkzNjMz","avatar_url":"https://avatars1.githubusercontent.com/u/23693633?v=4","gravatar_id":"","url":"https://api.github.com/users/One-sixth","html_url":"https://github.com/One-sixth","followers_url":"https://api.github.com/users/One-sixth/followers","following_url":"https://api.github.com/users/One-sixth/following{/other_user}","gists_url":"https://api.github.com/users/One-sixth/gists{/gist_id}","starred_url":"https://api.github.com/users/One-sixth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/One-sixth/subscriptions","organizations_url":"https://api.github.com/users/One-sixth/orgs","repos_url":"https://api.github.com/users/One-sixth/repos","events_url":"https://api.github.com/users/One-sixth/events{/privacy}","received_events_url":"https://api.github.com/users/One-sixth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-27T16:06:20Z","updated_at":"2018-11-27T16:54:46Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### New Issue Checklist\r\n\r\n- [ ] I have read the [Contribution Guidelines](https://github.com/tensorlayer/tensorlayer/blob/master/CONTRIBUTING.md)\r\n- [x] I searched for [existing GitHub issues](https://github.com/tensorlayer/tensorlayer/issues)\r\n\r\n### Issue Description\r\n\r\nWhen I use UpSampling2dLayer, the outputs shape is [None, None, None, number]\r\nIt should use self.inputs.shape instead of tf.shape(self.inputs).\r\n\r\n### Reproducible Code\r\n\r\n- Which OS are you using ?\r\nwin10\r\n- Please provide a reproducible code of your issue. Without any reproducible code, you will probably not receive any help.\r\n\r\n[INSERT CODE HERE]\r\n\r\n```python\r\n# ======================================================== #\r\n###### THIS CODE IS AN EXAMPLE, REPLACE WITH YOUR OWN ######\r\n# ======================================================== #\r\n\r\nimport tensorflow as tf\r\nimport tensorlayer as tl\r\n\r\na=tf.placeholder(tf.float32, [None, 4, 4, 3])\r\nb=tl.layers.InputLayer(a)\r\nc=tl.layers.UpSampling2dLayer(b, (2,2))\r\nprint(c.outputs.shape)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/comments/442133770","html_url":"https://github.com/tensorlayer/tensorlayer/issues/899#issuecomment-442133770","issue_url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/899","id":442133770,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjEzMzc3MA==","user":{"login":"zsdonghao","id":10713581,"node_id":"MDQ6VXNlcjEwNzEzNTgx","avatar_url":"https://avatars0.githubusercontent.com/u/10713581?v=4","gravatar_id":"","url":"https://api.github.com/users/zsdonghao","html_url":"https://github.com/zsdonghao","followers_url":"https://api.github.com/users/zsdonghao/followers","following_url":"https://api.github.com/users/zsdonghao/following{/other_user}","gists_url":"https://api.github.com/users/zsdonghao/gists{/gist_id}","starred_url":"https://api.github.com/users/zsdonghao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsdonghao/subscriptions","organizations_url":"https://api.github.com/users/zsdonghao/orgs","repos_url":"https://api.github.com/users/zsdonghao/repos","events_url":"https://api.github.com/users/zsdonghao/events{/privacy}","received_events_url":"https://api.github.com/users/zsdonghao/received_events","type":"User","site_admin":false},"created_at":"2018-11-27T16:54:46Z","updated_at":"2018-11-27T16:54:46Z","author_association":"MEMBER","body":"@One-sixth hi, which version of TL are you using? I remember this problem happen before, but @DEKHTIARJonathan has fixed this in the latest version."}}
{"actor":{"display_login":"zsdonghao"}}