Questions tagged [momentum]

73 questions
3
votes
3 answers

How does the momentum/inertial scroll work with the Magic Mouse on NSScrollView?

When you scroll with the newer Apple Magic Mouse (at least on 10.6, I can't confirm any previous Mac OS) you get inertial scroll like scrolling on iPhone (that is, after a flick of the finger to scroll, it doesn't abruptly stop, but instead…
jbrennan
  • 11,523
  • 14
  • 69
  • 110
3
votes
0 answers

Detecting momentum/inertia scroll on iPad on page elements

I am building an infinite scroll component for a web page that needs to work on iPad. So - when the user scrolls to the bottom of a list, we load more content and display an animated ajax loader image while it's loading. I have managed to get this…
loydall
  • 31
  • 5
3
votes
3 answers

Trigger.IO momentum scrolling

Is it possible to add momentum/intertia scrolling to a trigger.io-wrapped HTML5 iOS app? I'm currently building a basic app, and noticed that the Webview does not respond to the momentum of a swipe action when scrolling through content (iOS 6;…
dbau
  • 14,839
  • 2
  • 19
  • 31
2
votes
1 answer

Changing an optimisers momentum in pytorch

I know you can change the learning rate dynamically in pytorch using schedulers. How can you do the same with momentum?
RetAFVLib
  • 105
  • 2
  • 7
2
votes
0 answers

How can torch parameters be frozen if an optimizer with momentum is used?

I am training a torch model, where I want to freeze (and later unfreeze) certain parameters. I was under the impression, that simply setting param.requires_grad = False would accomplish this. This does not seem to be the case for optimizers with…
Dillmann
  • 71
  • 5
2
votes
0 answers

ANN - Velocity Initialization

While trying to implement neural network training algorithms, I came across different concepts, including that of Gradient descent which tries to mimic a ball rolling down a hill, and of velocity and momentum to better model the rolling ball. I…
2
votes
1 answer

Why does the scrollbar influence width of fixed/absolute elements but not static/relative

We noticed a strange behaviour with all browsers under OSX' when using the scrollbar "show automatically"-feature vs. "always visible" (see OSX settings->general). If it's switched to "always", fixed/absolute elements with 100% are 15px less width…
Raphael Jeger
  • 4,445
  • 12
  • 43
  • 72
2
votes
1 answer

iOS: -webkit-overflow-scrolling:touch and scrollTop

I have some trouble when trying to back to the top of a list. I put -webkit-overflow-scrolling:touch on the list to get momentum scroll. However when I'm using jQuery scrollTop(); while the momentum scroll is still going, it jumps to the top but…
Luxbit
  • 154
  • 1
  • 1
  • 11
2
votes
0 answers

Stop scroll momentum after animated scrollTop

I am building a website and would like to lock to certain content once passed a threshold. I am using a Jquery animated scrollTop to slide the content into place, and it is working well enough, however I have a momentum problem. If I scroll slowly…
Caranicas
  • 149
  • 1
  • 10
2
votes
0 answers

No scroll momentum/inertia

I'm developing a mobile web app using framework7 and phonegap build and i'm testing on android device. I'm using framework7's inline pages layout and i can't manage to get scroll inertia or momentum (the feature that make a long page scrolling even…
Riccardo
  • 346
  • 1
  • 16
2
votes
3 answers

Neural Network Definitions

I am writing a neural network class and have come across two concepts I don't understand. Would anyone be able to tell me what the bias and momentum is and does
Louis
  • 3,962
  • 3
  • 42
  • 61
1
vote
0 answers

Is clipnorm applied before or after momentum in keras?

In Keras or Tensorflow clipnorm rescales large "gradients" to have a specific norm and clipvalue bounds all the values of the "gradient". But what happens if you combine one of them with moemntum or something like adam? Is it applied on the gradient…
Jakob
  • 665
  • 5
  • 14
1
vote
0 answers

Can not set Momentum of optimizer

I am using the SGD optimizer and want to set the momentum after initialization similar to learning rate scheduling by using tf.keras.backend.set_value(optimizer.momentum, momentumValue):…
1
vote
0 answers

Is it possible, that the momentum chrome addon influences the css of loaded websites?

When I opened up my website I noticed that the css was not loaded correctly. I tried to reload the cache but nothing changed. When I disabled the momentum chrome addon my website loaded correctly.
1
vote
0 answers

pytorch - GroupNorm with momentum

After looking at the documentation of pytorch I couldn't find the module of GroupNorm with momentum, there is only an implementation which doesn't use it (which is useless to me since I would want to use AdaBN, or AdaGN I should say). Therefore my…