clementfarabet / torch-ios

Torch7 for iOS.
Other
196 stars 42 forks source link

net:forward(input) returns different result ? #20

Open ghost opened 8 years ago

ghost commented 8 years ago

I call net:forward(input) in torch ios and in the regular way and got different results. How can i fix this?

kurtjacobsdev commented 8 years ago

This may be due to the fact that the nn package included in torch-ios differers from the main torch7 nn package. It would be great if we could pull the latest nn code into torch-ios and patch it for use on iOS automatically (or with minimal human intervention). I'd like to start working on this as I also need to use Torch7 and Torch-iOS for my research project.

codevui commented 8 years ago

@woffle Did you have method ? I got stuck to add SpatialMaxPooling!