Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no clue #32

Open
jijibn opened this issue Jul 15, 2017 · 1 comment
Open

no clue #32

jijibn opened this issue Jul 15, 2017 · 1 comment

Comments

@jijibn
Copy link

jijibn commented Jul 15, 2017

im=im*255;
im2=im:clone()
im2[{{3},{},{}}]=im[{{1},{},{}}]-123.68
im2[{{2},{},{}}]=im[{{2},{},{}}]-116.779
im2[{{1},{},{}}]=im[{{3},{},{}}]-103.939

hello,
could someone plz explain to me this part of the code

@utkarshojha
Copy link

That is one of the image preprocessing step usually done, especially before feeding images into most of the convolutional neural networks people use these days. This may not make much intuitive sense right now, but such preprocessing helps network undergo a better training process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants