728x90 ๋ฐ์ํ ์ด์๐ /ํด๊ฒฐ์๋ฃ13 python: can't open file 'real_time_object_detection.py': [Errno 2] No such file or directory ์ค๋ฅ ์ฝ๋ python: can't open file 'real_time_object_detection.py': [Errno 2] No such file or directory ํด๊ฒฐ๋ฐฉ๋ฒ ์ด๋ฐ ์ค๋ฅ๋ ๊ฑฐ์ ์๋ชป๋ ๊ฒฝ๋ก์์ ์คํ๋ช ๋ น์ด๋ฅผ ์ ๋ ฅํ์๋ ๋์ค๋ ์ค๋ฅ์ธ๊ฒ ๊ฐ๋ค. cd ๋ฅผ ์ด์ฉํ์ฌ ์ฌ๋ฐ๋ฅธ ๊ฒฝ๋ก๋ก ์ด๋ํ ๋ช ๋ น์ด๋ฅผ ์ ๋ ฅํ๋ฉด ๋๋ค. cd ํด๋น ํด๋ ์ ์ค๋ฅ ์ฝ๋ ๊ธฐ์ค์ผ๋ก๋ cd real_time_object_detection.py ๋ฅผ ์ ๋ ฅํด์คํ ์คํ ๋ช ๋ น์ด๋ฅผ ์ ๋ ฅํ๋ฉด ํด๊ฒฐ ๋๋ค. 2022. 4. 1. Error: Cannot find module 'react-dev-utils/getPublicUrlOrPath' ์ค๋ฅ ์ฝ๋ Error: Cannot find module 'react-dev-utils/getPublicUrlOrPath' ํด๊ฒฐ ๋ฐฉ๋ฒ npm install --save-dev react-dev-utils OR npm install react-dev-utils --save 2022. 3. 27. pymysql.err.InterfaceErrorpymysql.err.InterfaceError: (0, '') ์ค๋ฅ์ฝ๋ pymysql.err.InterfaceError pymysql.err.InterfaceError: (0, '') ํด๊ฒฐ ๋ฒ conn.close() ์ฝ๋๋ฅผ ์ฐพ์์, ์ด๋ถ๋ถ์ ( ) ๋ฅผ ํ๋ฒ๋ ํด์ค๋ค. interfacerror ์ ์์ธ์ ๋ฌธ์ ๋ซ์ง ์์์ ๋ฐ์ํ๋ ์๋ฌ์ด๊ธฐ๋ ํ๋ค๊ณ ํจ. ๊ทธ๋์, connection leak ๋ผ๊ณ ๋ถ๋ฅธ๋ค. ๊ทธ๋ ๋ค๋ฉด connection leak ๋์ ๋ฐฉ์์ ์๋ฌ๊ฐ ๋ฐ์ํ๋ฉด ์์ธ ์ฒ๋ฆฌ์์ ๊ฐ์ ๋ก ๋ซ๋๋ก (conn.close())๋ฅผ ํด์ฃผ๋ฉด ๋๋ค๊ณ ํจ. ์ถ์ฒ https://hiwony.tistory.com/entry/Dev-log-python-pymysqlerrInterfaceError-0 http://pythonstudy.xyz/python/article/202-MySQL-.. 2022. 3. 23. FileNotFoundError: [Errno 2] No such file or directory: 'yolov3.weights ์ค๋ฅ ์ฝ๋ FileNotFoundError: [Errno 2] No such file or directory: 'yolov3.weights ํด๊ฒฐ๋ฒ Windows๋ฅผ ์ฌ์ฉํ๋ ๊ฒฝ์ฐ ๋ค์ URL๋ก ์ด๋ํ์ฌ yolov3.weights ํ์ผ์ ๋ค์ด๋ก๋ํฉ๋๋ค. https://pjreddie.com/media/files/yolov3.weights ๊ทธ๋ฐ ๋ค์ ์ด ํ์ผ์ ๋ฃจํธ ํด๋ ๋๋ detect.py๊ฐ ์๋ ์์น์ ์ ์ฅํฉ๋๋ค. ๊ทธ๋ฐ ๋ค์ ์คํํฉ๋๋ค. 2022. 3. 23. ์ด์ 1 2 3 4 ๋ค์ 728x90 ๋ฐ์ํ