karpathy / neuraltalk

NeuralTalk is a Python+numpy project for learning Multimodal Recurrent Neural Networks that describe images with sentences.
5.41k stars 1.32k forks source link

py_caffe_feat_extract #24

Open lichengunc opened 9 years ago

lichengunc commented 9 years ago

I think the bicubic implementation is of some problem.

The output image contains some obvious artifacts if you visualize it. It's definitely not same as Matlab's imresize nor Opencv's resize(Inter_cubic).

I guess the vgg_feats.mat inside examples_images was produced by this function. The results made by py_caffe_feat_extract were also slightly different with the ones made by opencv's resize(cubic). Hope some one could fix the bug of the bicubic implementation some day.

Thanks a lot.