1: |
Input: {Ij,n} with n ∈ {1, …, N} uniquely illuminated images of the jth object, object labels {yj}. Number of iterations T. An image classification model F parametrized by θ. |
2: |
Randomly initialize the LED weights . |
3: |
for iteration t = 1 … , T
do
|
4: |
Sample a minibatch of , |
5: |
Generate each pattern-illuminated image
via the weighted sum
|
6: |
Take a gradient descent step on CrossEntropy(
) with respect to w and θ. |
7: |
end for |
8: |
Output: the optimized LED weights w and the model parameters θ. |