Giter Site home page Giter Site logo

Comments (7)

zengjianyou avatar zengjianyou commented on August 15, 2024

@2502572025 hi,i have get a error when i run a new caffe vision"s stn code .
error:
check error:unknown name: file
why ?

from spatialtransformerlayer.

xyyu-callen avatar xyyu-callen commented on August 15, 2024

Hello, @zengjianyou

You need to pay attention to the initialization of the regress layer bias.
The author customed his own initialization function.

from spatialtransformerlayer.

zengjianyou avatar zengjianyou commented on August 15, 2024

@2502572025 So,Don”t you use "file” type? I got worse result when i initialize the regress layer bias to “constant”.What should i do?

from spatialtransformerlayer.

daerduoCarey avatar daerduoCarey commented on August 15, 2024

@2502572025 Hi, Kevin,

Thank you for your interests in my code. When I did my experiments using my code, for MNIST experiment, I can get the results pretty close to the original paper, but for CUB datset, I can't. Unfortunately, the authors of the original paper do not intend to release the code (correct me if they do) so I cannot check what's the difference between my implementation and theirs.

But you can try other tensorflow implementations, https://github.com/kevinzakka/spatial-transformer-network or http://torch.ch/blog/2015/09/07/spatial_transformers.html

Bests,
Kaichun

from spatialtransformerlayer.

zengjianyou avatar zengjianyou commented on August 15, 2024

@daerduoCarey I am very interests in your code. I always got an unstable result,when i did my experiments using your code.The result stays oscillating when it runs to the end. I hope you can give me some advice. Thank you!!

from spatialtransformerlayer.

xyyu-callen avatar xyyu-callen commented on August 15, 2024

@daerduoCarey

Hi, Kaichun. Many thanks for your attention.

I think the only difference is the data preprocessing between yours and mine.

I suppose this situation caused by the two factors.
i. The data preprocessing
My preprocessing is based on the PIL of python.
ii. The version of the caffe
I just changed the caffe version, the divergent training began to convergent.

So, if possible, can you give me your data or preprocessing script?
I want to find out what's wrong with my processing.

Thank you very much again!

Best Regards
Kevin

from spatialtransformerlayer.

Blue-Clean avatar Blue-Clean commented on August 15, 2024

hi,@xyyu-kevin , can you tell me how to add stn layer directly after input image data layer? and then pass the transformed into the pre-trained VGG16? the localization and the stn layer both needs backward to learn the parameter or not? How to set the lr?

from spatialtransformerlayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.