Live data from Hacker News

Learning to See in the Dark (2018)

github.com

21–30 of 179 posts

Re: Learning to See in the Dark (2018)

#21

It's surprising how little code [1] is needed to do this. On the other hand I feel this is quite dependent on the specific camera models and might not work on the RAW data downloaded from my phone. Happy to be corrected. [1] - https://github.com/cchen156/Learning-to-See-in-the-Dark/blob...

This could actually be shortened, maybe simplified, significantly. For example there is a lot of redundancy in the layers and that could be pulled out into a function per block. This is what I often do with deep networks as it helps avoid errors in code and shortens everything significantly, at the potential expense of being able to grok it initially as quickly.

But, many DNN concepts (and ML concepts themselves) can be described with a few lines of pseudocode. CNNs, RNNs, etc. can all be described in a few lines.

It's really quite amazing, most of the work goes into first creating the net work from theory, then training and tuning it until you get good results.

Re: Learning to See in the Dark (2018)

#22
post #6
post #4

I was just wondering a couple days ago why the image from my phone is so grainy, while my eyes+brain can see everything clear in the dark (it wasn't completely dark, of course). This seems to replicate the post-processing we do in our brain (which is also a giant neural network). I wonder if the process is similar?

Also, our eyes are better. So far.

I wonder what things would be like when phone cameras are as good as human eyes, the climax of consumer photography?

Re: Learning to See in the Dark (2018)

#23
post #3

Impressive of the American news channel, CNN, to convert images in minus one second.

They should make a CLI tool, it stores your processed images one sec before it is invoked!

See also: https://en.m.wikipedia.org/wiki/Thiotimoline

The major peculiarity of the chemical is its "endochronicity": it starts dissolving before it makes contact with water.

Re: Learning to See in the Dark (2018)

#24
post #4

I was just wondering a couple days ago why the image from my phone is so grainy, while my eyes+brain can see everything clear in the dark (it wasn't completely dark, of course). This seems to replicate the post-processing we do in our brain (which is also a giant neural network). I wonder if the process is similar?

Your brain doesn’t make a 2 dimensional image based entirely on photons entering your eye. You generate a complex physical model of your surroundings based only partially on visual input and rely substantially on memory.

Re: Learning to See in the Dark (2018)

#29

It's surprising how little code [1] is needed to do this. On the other hand I feel this is quite dependent on the specific camera models and might not work on the RAW data downloaded from my phone. Happy to be corrected. [1] - https://github.com/cchen156/Learning-to-See-in-the-Dark/blob...

"How can I train the model using my own raw data?

Generally, you just need to subtract the right black level and pack the data in the same way of Sony/Fuji data. If using rawpy, you need to read the black level instead of using 512 in the provided code. The data range may also differ if it is not 14 bits. You need to normalize it to [0,1] for the network input."

The Sony and Fuji training code looks mostly the same - they haven't bothered to pull out common code and re-use.

Post reply on HN