inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

173만명의 커뮤니티!! 함께 토론해봐요.

학습방법 질문입니다.

미해결

파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)

안녕하세요 선생님 이번에 선생님 강의를 수강하려고 막 시작한 학생입니다. 좋은 강의를 만들어 주셔서 감사합니다. 현재 기초를 수강중인데 이에앞서 질문드립니다. 강의수강 방법은 먼저 문제를 풀어보고 강의를 보며 코드 비교 방식으로 수강을 하는 방법을 추천하시는것 같은데 DFS 나 스택 큐 등 개념강의나 이론공부를 따로하지않고 바로 풀기 및 수강을 하는게 나은지요? 문제당 고민시간은 어느정도로 잡아야 괜찮을지요?.. 강의 수강 및 복습을 하고나면 백준에서 바로 삼성이나 카카오등의 기업 기출문제를 바로 풀기 시작하면될까요?

  • python
  • 코테 준비 같이 해요!
빠른 양 댓글 1 좋아요 0 조회수 205

데이터 전처리

해결됨

[개정판] 딥러닝 컴퓨터 비전 완벽 가이드

데이터 전처리 시 왜 0~ 255 사이의 픽셀값을 0 ~ 1 사이 값으로 변환해주는 걸까요? 자료의 범위가 맞춰져야 해서인 거 같은데 자세한 이유가 알고 싶습니다.

  • 딥러닝
  • python
  • keras
  • 머신러닝 배워볼래요?
  • 컴퓨터-비전
  • tensorflow
공부왕찐만재 댓글 1 좋아요 0 조회수 385

규칙을 찾아서 풀었는데 괜찮을까요?

미해결

파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)

인강보기전에 풀어서 두눈의합을 cnt 리스트의 인덱스로 생각하고 개수를 카운팅하는 생각은 하지못했는데 위 방식도 괜찮을까요?

  • python
  • 코테 준비 같이 해요!
댓글 1 좋아요 0 조회수 305

lt 값이 바뀔 때마다 rt 를 lt+1로 초기화 하지 않아도 되는 이유

미해결

파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)

직관적으로 생각하면 lt 가 바뀔 때마다 rt = lt + 1 로 초기화해준 다음에 rt를 1씩 증가시키면서 확인해야할 것 같은데, 이전 lt 에 대한 rt 의 위치를 그대로 놔두고도 모든 경우를 빠짐없이 확인할 수 있다는 확신을 가질 수 있는 이유가 무엇인가요?

  • 코테 준비 같이 해요!
  • python
댓글 1 좋아요 1 조회수 380

시간 초과가 나오는 이유를 모르겠어요 ㅠㅠ

미해결

파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)

n, m = map(int, input().split()) a = list(map(int, input().split())) cnt = 0 for lt in range(n): rt = lt + 1 tot = 0 while tot < m and rt <= n: tot = sum(a[lt:rt]) if tot == m: cnt += 1 break rt += 1 print(cnt) 4, 5번 테스트 케이스에서 시간초과가 나옵니다 ㅜ

  • python
  • 코테 준비 같이 해요!
댓글 1 좋아요 0 조회수 245

자막 지원 문의 드립니다.

미해결

우리를 위한 프로그래밍 : 파이썬 중급 (Inflearn Original)

안녕하세요 혹 파이썬 초급 수업처럼 자막 지원이 될지요? 매우 도움이 되어서 문의 드립니다

  • python
  • django
inseokis 댓글 2 좋아요 0 조회수 415

메소드 오류

미해결

프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)

이번 수업에서 작성된 코드 끝까지 작성한 후 실행하였는데 결과가 나오지 않고 계속 로딩중인 것을 보고 뭔가 잘못됐다는 걸 알게 됐습니다. 커맨드 창에서 확인해보니 메소드 오류라고 하는데 혹시 어떤 게 잘못됐을까요?

  • python
강혜나 댓글 1 좋아요 0 조회수 224

범위 지정은 구현 안해도 되는건가요?

미해결

파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)

알고리즘 공부는 처음이라 테스트 케이스 1<= T <= 10, a리스트에 n개 초과로 받지않도록 하는 조건들은 구현 안해도 되는건가요?

  • python
  • 코테 준비 같이 해요!
댓글 1 좋아요 0 조회수 225

flask 서버관련 문의 드립니다

미해결

풀스택을 위한 도커와 최신 서버 기술(리눅스, nginx, AWS, HTTPS, 배포까지) [풀스택 Part3]

강의 내용 3분 14초 입니다 강의 내용을 듣다가, 제가 이해하고있는게 맞는지 궁금하여 문의 드립니다 현재 강의에서는 nginx 프록시 서버가 존재하고 nginx 서버 (myweb) 용 서버가 존재고 있습니다. 선생님 설명중에서 flask서버는 nginx 프록시 서버가 포워딩을 해줘서 , flask서버의 gunicorn과 직접 통신 한다고 말씀해 주셨습니다 그렇다면 nginx서버(myweb) 가 필요없다면, nginx(myweb) 서버(컨테이너)는 안만들어도 되는것인지 궁금합니다. 선생님께 배워서 간단한 웹페이지를 제작중인데 flask에서, index.html 파일도 리턴해주도록 되어있어서, 굳이 nginx(myweb) 서버는 안만들어도 될거 같은데, 제 생각이 맞는건지 틀린건지 모르겠습니다

  • docker
  • network
  • linux
가후 댓글 2 좋아요 0 조회수 438

실습환경에 대한 문의 드립니다.

해결됨

시스템엔지니어가 알려주는 리눅스 기초편 Bash Shell Script

리눅스는 상용 버전에 따라 명령어가 달라질 수 있다고 알고있습니다. 해당 강의에서 배울 명령어들은 리눅스 상용 버전에 다 사용이 가능한 명령어들인가요? 그리고 실습환경을 웹이서 구동되는 Linux를 알려주셨는데 저는 직접 설치해서 사용하고자 합니다. 어떤 리눅스를 설치하면 강의 듣는데 문제가 없을지 확인 부탁드립니다. 감사합니다.

  • shell-script
  • linux
끼야호우 댓글 2 좋아요 0 조회수 603

pyautogui.prompt 사용 시 에러 발생합니다.

미해결

[신규 개정판] 이것이 진짜 크롤링이다 - 기본편

안녕하세요 :) pyautogui.prompt 사용시 아래와 갈이 에러가 발생합니다. pyautogui 설치 시, 에러는 없었습니다! 확인 부탁드립니다🙏🏻

  • python
  • 웹-크롤링
송옥수 댓글 1 좋아요 1 조회수 931

10-2 강의 관련질문 (행맨 게임)

미해결

프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)

단어 추측이 성공하는 경우의 if문의 실행 조건이 failed 가 0일 때 인데 만약 처음 키 입력에서 실패하고 여러번의 시도 끝에 성공 할 경우 failed의 수가 0이 아닐텐데 어떻게 단어 추측 성공부분이 실행 될 수 있는 건가요?

  • python
SPD 댓글 3 좋아요 1 조회수 553

mAP 0.5와 mAP 0.5-0.95의 차이

미해결

[개정판] 딥러닝 컴퓨터 비전 완벽 가이드

mAP의 측정 기준 중 mAP0.5와 mAP 0.5-0.95는 무엇을 의미하나요? 보니까 IoU를 0.5에서 0.95까지 0.05씩 올려가면서 측정한 평균 mAP라는데, 이것이 무엇을 의미하는 지 자세히 모르겠습니다

  • 머신러닝 배워볼래요?
  • python
  • 딥러닝
  • tensorflow
  • keras
  • 컴퓨터-비전
blackjack_96 댓글 2 좋아요 0 조회수 6361

nginx.conf 수정관련

미해결

풀스택을 위한 도커와 최신 서버 기술(리눅스, nginx, AWS, HTTPS, 배포까지) [풀스택 Part3]

많은 개린이분들이 저처럼 시간낭비하지말라고 글을 남깁니다.. 거의 다잉메세지입니다... 강사님이 nginx.conf파일을 수정하시는데요 실제로 우리가 내려받는 파일의 09폴더에 있는 nginx.conf.http파일에는 고쳐야할 부분이 총 세가지 입니다. (영상과는 다르게 되어 있는 부분들도 있습니다. 그것들까지 포함해서 총 세개!) 도메인(총 6개 였습니다.) : funcoding.xyz >> 각자 도메인으로 수정 맨 아래 server블락(443포트 https관련) 위아래로 있는 주석(*/, /*)삭제 역시 맨 아래 server블락에 servername아래에 있는 네줄의 코드 앞에 있는 #. 역시 주석관련된 건데, #를 모두 삭제 다시 되돌아보면 부끄러울정도로 간단한 것들이였는데, nginx나 docker가 처음이다보니 허둥대다가 몇일을 날렸는지 모르겠네요

  • docker
  • network
  • linux
송재관 댓글 4 좋아요 5 조회수 783

윈도우 QueryString 사용법 : http GET [URI] param1==1 param==2

미해결

[리뉴얼] 처음하는 파이썬 백엔드와 웹기술 입문 (파이썬 중급, flask[플라스크] 로 이해하는 백엔드 및 웹기술 기본) [풀스택 Part1-1]

윈도우 QueryString 사용법 : http GET URI param1==1 param==2 입니다

  • python
  • rest-api
  • flask
BH J 댓글 2 좋아요 0 조회수 373

faster-rcnn inference 오류

미해결

[개정판] 딥러닝 컴퓨터 비전 완벽 가이드

현황 : BCCD에서 사용하던 코드로 Inference를 하려 했는데 다음과 같은 오류가 발생하고 있습니다 바쁘시겠지만 문의드립니다 ◇ 문의사항 : 해결방안이 있을까요? 코드 import torch from mmdet.apis import multi_gpu_test, single_gpu_test from mmcv.parallel import MMDataParallel, MMDistributedDataParallel model_ckpt = MMDataParallel(model_ckpt, device_ids=[0]) outputs=single_gpu_test(model_ckpt, data_loader, True, "저장폴더", 0.5) --------------------------------------------------------------------------- AssertionError Traceback (most recent call last) Input In [6], in <cell line: 8>() 5 model_ckpt = MMDataParallel(model_ckpt, device_ids=[0]) 6 # single_gpu_test를 활용하므로 samples_per_gpu는 1이 되야함 ----> 8 outputs=single_gpu_test(model_ckpt, data_loader, True, "저장폴더", 0.5) File ~/.local/lib/python3.9/site-packages/mmdet/apis/test.py:38, in single_gpu_test(model, data_loader, show, out_dir, show_score_thr) 36 img_tensor = data['img'][0].data[0] 37 img_metas = data['img_metas'][0].data[0] ---> 38 imgs = tensor2imgs(img_tensor, **img_metas[0]['img_norm_cfg']) 39 assert len(imgs) == len(img_metas) 41 for i, (img, img_meta) in enumerate(zip(imgs, img_metas)): File ~/.local/lib/python3.9/site-packages/mmcv/image/misc.py:34, in tensor2imgs(tensor, mean, std, to_rgb) 32 if torch is None: 33 raise RuntimeError('pytorch is not installed') ---> 34 assert torch.is_tensor(tensor) and tensor.ndim == 4 35 channels = tensor.size(1) 36 assert channels in [1, 3] AssertionError: show_result_pypot 사용 시 오류가 발생하는데 해결방안이 있을까요? 코드 from mmdet.apis import show_result_pyplot import cv2 #brg image 사용 img = cv2.imread("sample 이미지 위치") model.cfg = cfg result = inference_detector(model, img) show_result_pyplot(model, img, result, score_thr=0.3) 결과 /home/namu/.local/lib/python3.9/site-packages/mmdet/datasets/utils.py:66: UserWarning: "ImageToTensor" pipeline is replaced by "DefaultFormatBundle" for batch inference. It is recommended to manually replace it in the test data pipeline in your config file. warnings.warn(

  • python
  • keras
  • 머신러닝 배워볼래요?
  • 컴퓨터-비전
  • tensorflow
  • 딥러닝
효도하고싶다 댓글 1 좋아요 0 조회수 451

PS영역에서 BRAM 영역에 DPRAM 구현시 접근 방법 문의

미해결

설계독학맛비's 실전 FPGA를 이용한 HW 가속기 설계 (LED 제어부터 Fully Connected Layer 가속기 설계까지)

안녕하십니까? 저는 지금 Zynq7000 계열에 PS 영역에 PetaLinux를 올리려고 합니다. 그리고 BRAM영역에 DPRAM을 구현하고, 이를 PetaLinux에서 접근하게 하고 싶은데요. 어떻게 해야 하는지 궁금합니다. 전체적인 감이 없다보니, 어떻게 시도해야 하는지 모르겠네요. 대략적인 접근 방법 및 자료 소개를 부탁 드리고자 합니다.

  • ps
  • 임베디드
  • bram
  • fpga
  • dpram
  • linux
jobaek78 댓글 1 좋아요 1 조회수 682

webdriver_manager 모듈이 인식이 안되는것 같아요

미해결

[신규 개정판] 이것이 진짜 크롤링이다 - 실전편 (인공지능 수익화)

from selenium import webdriver from selenium.webdriver.chrome.service import Service from selenium.webdriver.chrome.options import Options # 크롬 드라이버 자동 업데이트 from webdriver_manager.chrome import ChromeDriverManager service = Service(executable_path=ChromeDriverManager().install()) 위와 같이 코딩하고 실행하면 Traceback (most recent call last): File "c:\Users\omonge\Desktop\파이썬공부\desktop\requests_1.py", line 7, in <module> from webdriver_manager.chrome import ChromeDriverManager ModuleNotFoundError: No module named 'webdriver_manager' 위와 같이 모듈이 없다고 하면서 오류가 발생하는데요. pip install webdriver_manager 라이브러리 설치도 했고 pip list 에도 webdriver-manager 3.8.3 설치가 된 것으로 나오는데요. 라이브러리 설치 인식이 안되는걸까요? 검색해보고 컴퓨터도 껐다 켜보고.. 했는데요. 계속 인식이 안되는것 같아요 ㅠ 윈도우10 입니다.

  • python
  • 웹-크롤링
moonchoh 댓글 3 좋아요 1 조회수 11106

pygame wasd 키보드 안됌

미해결

pygame을 이용해 패드 컨트롤러 같은 걸 만드려고 하는데, 방향키만 입력이 되고 스페이스와 나머지 키들은 입력이 안 됩니다. 왜 그럴까요? 코드는 이렇습니다. import pygame import sys import keyboard from pygame.locals import QUIT pygame.init() pygame.display.set_caption("Test Window") Surface = pygame.display.set_mode((600,600)) FPSCLOCK = pygame.time.Clock() def main(): while True: Surface.fill((0,0,0)) c1=255 c2=255 c3=255 c4=255 c5=255 c6=255 c7=255 c8=255 c9=255 for event in pygame.event.get(): if event.type == QUIT: pygame.quit() sys.exit() if event.type == pygame.KEYDOWN: if event.key == pygame.K_LEFT: c1 = 100 elif event.key == pygame.K_RIGHT: c2 = 20 elif event.key == pygame.K_UP: c3 = 80 elif event.key == pygame.K_DOWN: c4 = 40 elif event.key == pygame.K_SPACE: c5 = 10 elif event.key == pygame.K_w: c6 = 75 elif event.key == pygame.K_a: c7 = 40 elif event.key == pygame.K_s: c8 = 100 elif event.key == pygame.K_d: c9 = 200 pygame.draw.rect(Surface,(255,c1,255),(15,15,180,180)) pygame.draw.rect(Surface,(c3,255,255),(210,15,180,180)) pygame.draw.rect(Surface,(255,255,c2),(405,15,180,180)) pygame.draw.rect(Surface,(c4,c4,255),(15,210,180,180)) pygame.draw.rect(Surface,(255,c5,c5),(210,210,180,180)) pygame.draw.rect(Surface,(c6,255,c6),(405,210,180,180)) pygame.draw.rect(Surface,(255,c7,c7),(15,405,180,180)) pygame.draw.rect(Surface,(255,c8,c8),(210,405,180,180)) pygame.draw.rect(Surface,(c9,255,255),(405,405,180,180)) pygame.display.update() FPSCLOCK.tick(120) if __name__ == '__main__': main()

  • pygam
  • python
hwjung0310 댓글 0 좋아요 0 조회수 388

vagrant up 실행 중 에러

해결됨

시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script

안녕하세요, 윈도우10 환경에서 2-1 서버 구축 강의를 보며 진행 중 오류가 발생해 문의 드립니다. 실행 로그는 아래와 같습니다. $ vagrant up Bringing machine 'cent1' up with 'virtualbox' provider... Bringing machine 'cent2' up with 'virtualbox' provider... Bringing machine 'cent3' up with 'virtualbox' provider... ==> cent1: Preparing master VM for linked clones... cent1: This is a one time operation. Once the master VM is prepared, cent1: it will be used as a base for linked clones, making the creation cent1: of new VMs take milliseconds on a modern system. ==> cent1: Importing base box 'rockylinux/8'... ==> cent1: Cloning VM... ==> cent1: Matching MAC address for NAT networking... ==> cent1: Checking if box 'rockylinux/8' version '5.0.0' is up to date... ==> cent1: Setting the name of the VM: cent1 ==> cent1: Clearing any previously set network interfaces... ==> cent1: Preparing network interfaces based on configuration... cent1: Adapter 1: nat cent1: Adapter 2: hostonly cent1: Adapter 3: hostonly ==> cent1: Forwarding ports... cent1: 22 (guest) => 2222 (host) (adapter 1) ==> cent1: Running 'pre-boot' VM customizations... ==> cent1: Booting VM... ==> cent1: Waiting for machine to boot. This may take a few minutes... cent1: SSH address: 127.0.0.1:2222 cent1: SSH username: vagrant cent1: SSH auth method: private key cent1: cent1: Vagrant insecure key detected. Vagrant will automatically replace cent1: this with a newly generated keypair for better security. cent1: cent1: Inserting generated public key within guest... cent1: Removing insecure key from the guest if it's present... cent1: Key inserted! Disconnecting and reconnecting using new SSH key... ==> cent1: Machine booted and ready! [cent1] No Virtualbox Guest Additions installation found. The guest's platform ("rocky") is currently not supported, will try generic Linux method... Copy iso file C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso Mounting Virtualbox Guest Additions ISO to: /mnt mount: /mnt: WARNING: device write-protected, mounted read-only. Installing Virtualbox Guest Additions 6.1.36 - guest version is unknown Verifying archive integrity... All good. Uncompressing VirtualBox 6.1.36 Guest Additions for Linux........ VirtualBox Guest Additions installer Copying additional installer modules ... Installing additional modules ... /opt/VBoxGuestAdditions-6.1.36/bin/VBoxClient: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory /opt/VBoxGuestAdditions-6.1.36/bin/VBoxClient: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory VirtualBox Guest Additions: Starting. VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules. This may take a while. VirtualBox Guest Additions: To build modules for other installed kernels, run VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version> VirtualBox Guest Additions: or VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all VirtualBox Guest Additions: Kernel headers not found for target kernel 4.18.0-348.20.1.el8_5.x86_64. Please install them and execute /sbin/rcvboxadd setup modprobe vboxguest failed The log file /var/log/vboxadd-setup.log may contain further information. An error occurred during installation of VirtualBox Guest Additions 6.1.36. Some functionality may not work as intended. In most cases it is OK that the "Window System drivers" installation failed. Redirecting to /bin/systemctl start vboxadd.service Job for vboxadd.service failed because the control process exited with error code. See "systemctl status vboxadd.service" and "journalctl -xe" for details. Got different reports about installed GuestAdditions version: Virtualbox on your host claims: VBoxService inside the vm claims: 6.1.36 Going on, assuming VBoxService is correct... Redirecting to /bin/systemctl start vboxadd-service.service Job for vboxadd-service.service failed because the control process exited with error code. See "systemctl status vboxadd-service.service" and "journalctl -xe" for details. Unmounting Virtualbox Guest Additions ISO from: /mnt Got different reports about installed GuestAdditions version: Virtualbox on your host claims: VBoxService inside the vm claims: 6.1.36 Going on, assuming VBoxService is correct... Got different reports about installed GuestAdditions version: Virtualbox on your host claims: VBoxService inside the vm claims: 6.1.36 Going on, assuming VBoxService is correct... Got different reports about installed GuestAdditions version: Virtualbox on your host claims: VBoxService inside the vm claims: 6.1.36 Going on, assuming VBoxService is correct... Restarting VM to apply changes... ==> cent1: Attempting graceful shutdown of VM... ==> cent1: Booting VM... ==> cent1: Waiting for machine to boot. This may take a few minutes... ==> cent1: Machine booted and ready! ==> cent1: Checking for guest additions in VM... cent1: No guest additions were detected on the base box for this VM! Guest cent1: additions are required for forwarded ports, shared folders, host only cent1: networking, and more. If SSH fails on this machine, please install cent1: the guest additions and repackage the box to continue. cent1: cent1: This is not an error message; everything may continue to work properly, cent1: in which case you may ignore this message. ==> cent1: Setting hostname... ==> cent1: Configuring and enabling network interfaces... ==> cent1: Mounting shared folders... cent1: /vagrant => C:/playground/VWS_vagrant_script Vagrant was unable to mount VirtualBox shared folders. This is usually because the filesystem "vboxsf" is not available. This filesystem is made available via the VirtualBox Guest Additions and kernel module. Please verify that these guest additions are properly installed in the guest. This is not a bug in Vagrant and is usually caused by a faulty Vagrant box. For context, the command attempted was: mount -t vboxsf -o uid=1000,gid=1000,_netdev vagrant /vagrant The error output from the command was: /sbin/mount.vboxsf: mounting failed with the error: No such device 어떻게 하면 수정하여 환경 구축할 수 있을지 알고 싶습니다. 감사합니다.

  • linux
  • shell-script
yjw1081 댓글 2 좋아요 0 조회수 791

인기 태그

인프런 TOP Writers

주간 인기글