Error : ์์ธ imageํ์ผ์ ๋ค์ด ๋ฐ๋ค ์ค๊ฐ์ ์ค์งํด์ img๊ฐ ์๋ฆฌ๊ฒ(crop)๋์๋ค. ๋ด ๊ฒฝ์ฐ๋ imgํ์ผ์ ๋ค์ด ๋ฐ๋ค๊ฐ ์ค๊ฐ์ keyInterrupt๋ฅผ ๋ฐ์์์ผ ๋ฐ์ดํฐ๋ฅผ ๋ฐ๋ก ์ ์ฅํ์ง ๋ชปํด์ ์๊ฒผ๋ ๊ฒ์ผ๋ก ๋ณด์ธ๋ค. ํด๊ฒฐ : ๋ค์ data ๋ค์ด ๋ฐ์๋ค. ์ผ๋ฐ์ ์ธ ํด๊ฒฐ ๋ฐฉ๋ฒ keras.preporcessor.image.imgtoarra...
tensor b์ ํฌ๊ธฐ๊ฐ ์ต๋ 512์ด์ฌ์ผ ํ๋๋ฐ, 580์ ํฌ๊ธฐ๋ฅผ ๊ฐ์ง tensor๊ฐ ๋ค์ด์๋ค๋ ๋ด์ฉ์ด๋ค. 512์ ๋ง๊ฒ ์๋ผ์ฃผ๋ฉด ๋๋ค.
float ํ์ ์ ์์ํ๋๋ฐ, Long ํ์ ์ ๋ณ์๊ฐ ์ ๋ ฅ๋์๋ค. ํด๊ฒฐ : dtype์ float๋ก ๋ฐ๊พธ์! ์ ๋ฐ๋๊ฐ ๋ง์ด ํ์ํ์ง ์๊ธฐ ๋๋ฌธ์ ๋ช ์์ ์ผ๋ก float16์ผ๋ก ์ ์ธํ์๋ค.(float๋ก ํด๋ ๋๋ค.) ์ฌ๊ธฐ์, dtype์ด float64์ผ ๋, tensor์ torch.(cuda.)DoubleTensor๋ก ์ธ์ํ๋ค. ๋ง์ฐฌ๊ฐ์ง๋ก dtype์ด fl...
RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn ๊ธฐ์ธ๊ธฐ ๊ณ์ฐ ๊ธฐ๋ฅ์ ๋ tensor๋ก ๊ธฐ์ธ๊ธฐ ๊ณ์ฐ์ ํ ๊ฒฝ์ฐ ๋ฐ์ํ๋ ์๋ฌ์ด๋ค. grad_fn : ๊ธฐ์ธ๊ธฐ ๊ณ์ฐ์ ํ๋ function ํด๊ฒฐ ๋ฐฉ๋ฒ : tensor๋ฅผ ์์ฑํ ๋, requires_grad=...
1. element 0 of tensors does not require grad and does not have a gradfn 2. Found dtype Double but expected Float 3. 'bool' object is not callable
docker build ์ ์๋ฌ : ๊ฒฝ๋ก ๋ฌธ์ , .dockerignore ํ์ธ ํ์