{"action":"created","issue":{"url":"https://api.github.com/repos/fchollet/keras/issues/3965","repository_url":"https://api.github.com/repos/fchollet/keras","labels_url":"https://api.github.com/repos/fchollet/keras/issues/3965/labels{/name}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/3965/comments","events_url":"https://api.github.com/repos/fchollet/keras/issues/3965/events","html_url":"https://github.com/fchollet/keras/issues/3965","id":181042071,"number":3965,"title":"None type on input size does not to work on UpSampling2D","user":{"login":"owang","id":1974374,"avatar_url":"https://avatars.githubusercontent.com/u/1974374?v=3","gravatar_id":"","url":"https://api.github.com/users/owang","html_url":"https://github.com/owang","followers_url":"https://api.github.com/users/owang/followers","following_url":"https://api.github.com/users/owang/following{/other_user}","gists_url":"https://api.github.com/users/owang/gists{/gist_id}","starred_url":"https://api.github.com/users/owang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owang/subscriptions","organizations_url":"https://api.github.com/users/owang/orgs","repos_url":"https://api.github.com/users/owang/repos","events_url":"https://api.github.com/users/owang/events{/privacy}","received_events_url":"https://api.github.com/users/owang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-05T00:59:53Z","updated_at":"2016-10-11T16:37:39Z","closed_at":null,"body":"The code (tensorflow backend)\r\n\r\n```\r\nm = keras.models.Sequential()\r\nm.add(keras.layers.convolutional.Convolution2D(1, 3, 3, border_mode='same', input_shape=(None, None,1)))\r\nm.add(keras.layers.convolutional.UpSampling2D(size=(2, 2),dim_ordering='tf'))\r\n```\r\n\r\nThe error: \r\n```\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/Users/owang/Library/Python/2.7/lib/python/site-packages/keras/models.py\", line 308, in add\r\n    output_tensor = layer(self.outputs[0])\r\n  File \"/Users/owang/Library/Python/2.7/lib/python/site-packages/keras/engine/topology.py\", line 514, in __call__\r\n    self.add_inbound_node(inbound_layers, node_indices, tensor_indices)\r\n  File \"/Users/owang/Library/Python/2.7/lib/python/site-packages/keras/engine/topology.py\", line 572, in add_inbound_node\r\n    Node.create_node(self, inbound_layers, node_indices, tensor_indices)\r\n  File \"/Users/owang/Library/Python/2.7/lib/python/site-packages/keras/engine/topology.py\", line 149, in create_node\r\n    output_tensors = to_list(outbound_layer.call(input_tensors[0], mask=input_masks[0]))\r\n  File \"/Users/owang/Library/Python/2.7/lib/python/site-packages/keras/layers/convolutional.py\", line 1318, in call\r\n    self.dim_ordering)\r\n  File \"/Users/owang/Library/Python/2.7/lib/python/site-packages/keras/backend/tensorflow_backend.py\", line 756, in resize_images\r\n    X.set_shape((None, original_shape[1] * height_factor, original_shape[2] * width_factor, None))\r\nTypeError: unsupported operand type(s) for *: 'NoneType' and 'int'\r\n```"},"comment":{"url":"https://api.github.com/repos/fchollet/keras/issues/comments/252972108","html_url":"https://github.com/fchollet/keras/issues/3965#issuecomment-252972108","issue_url":"https://api.github.com/repos/fchollet/keras/issues/3965","id":252972108,"user":{"login":"owang","id":1974374,"avatar_url":"https://avatars.githubusercontent.com/u/1974374?v=3","gravatar_id":"","url":"https://api.github.com/users/owang","html_url":"https://github.com/owang","followers_url":"https://api.github.com/users/owang/followers","following_url":"https://api.github.com/users/owang/following{/other_user}","gists_url":"https://api.github.com/users/owang/gists{/gist_id}","starred_url":"https://api.github.com/users/owang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owang/subscriptions","organizations_url":"https://api.github.com/users/owang/orgs","repos_url":"https://api.github.com/users/owang/repos","events_url":"https://api.github.com/users/owang/events{/privacy}","received_events_url":"https://api.github.com/users/owang/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T16:37:39Z","updated_at":"2016-10-11T16:37:39Z","body":"Does no one else have this problem? It seems pretty deal-breaking for any fully convolutional autoencoder type network."}}
{"actor":{"display_login":"owang"}}