ok - i abandoned resnets in favor of xception due to the former requiring larger size of input image; will revisit
-
-
No modern CNN requires a specific input size. You can use any size you like with rn34. Be sure to use adaptive pooling to make this work (fastai does that for you)
2 replies 0 retweets 11 likes -
Replying to @jeremyphoward @graphific
Keras API puts a low boundary on the input image size - ex for rn50 it requires input size to be no smaller than 197
2 replies 0 retweets 2 likes -
Hi Helena, all modern CNNs operate downsampling on their inputs, which means they start with large feature maps that get smaller as you do down the network. In general, convolution is a downsampling operating unless you explicit pad your inputs.
3 replies 0 retweets 13 likes -
Thats means that all CNNs have a minimum input size, which is the minimum size you can call the network on without resulting in empty feature maps. At that size, the output of your network is a 1x1 feature map.
1 reply 0 retweets 2 likes -
For most nets, this tends to be about ~50% of the input size the network was designed for. Downsampling is absolutely necessary when you have large inputs. To get rid of this limitation, you need to create your own network, where you would do less downsampling.
2 replies 0 retweets 2 likes -
Replying to @fchollet @graphific
Resnet34 and 50 work great on 128x128 px inputs, and quite well on 64x64, FYI.
1 reply 1 retweet 14 likes -
Replying to @jeremyphoward @graphific
Looking at the Keras code, I see that the minimum input size for ResNet50 is 32x32. So you are right, it would work quite well for 64x64.https://github.com/keras-team/keras-applications/blob/master/keras_applications/resnet50.py#L208 …
1 reply 1 retweet 7 likes -
i should have checked the code - relied on documentation
pic.twitter.com/5QXtSJ6lIh
3 replies 0 retweets 0 likes -
Replying to @NeuralBricolage @fchollet and
comparing Xception with RN50, i should expect the better accuracy from the former, though it would be slower... is this correct?
1 reply 0 retweets 0 likes
It depends on your problem, really. But I would expect Xception to perform better in general, yes.
-
-
perfect
1 reply 0 retweets 0 likes -
Replying to @NeuralBricolage @fchollet and
In my transfer learning task, I saw that Xception out-performed Resnet50
1 reply 0 retweets 1 like - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.