묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결딥러닝 CNN 완벽 가이드 - TFKeras 버전
Evaluate 관련하여 궁금한 점이 있습니다!
안녕하세요, 선생님! 좋은 강의 항상 감사드립니다. 다름이 아니라, 제가 현재 훈련시킨 xception 모델로 다른 test 이미지를 분류해보고자 하고 있습니다. 강의에서는 이미 label이 있는 이미지들에 대하여 test/evaluate를 진행하고 있는데, 혹시 label이 없는 이미지들에 대하여 test를 해보고자 한다면, 어떻게 해야 하는지 관련 링크 같은 것이 있을까요? 텐서플로우 사이트나 스택오버플로우 찾아봐도 딱 명료하게 관련 내용을 찾을 수 없어서 문의드립니다. 감사합니다! :)
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
Whitelabel Error Page
삭제된 글입니다
-
미해결스프링 핵심 원리 - 기본편
에러질문 있습니다
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'memberService' defined in class path resource [appConfig.xml]: Unsatisfied dependency expressed through constructor parameter 0: Ambiguous argument values for parameter of type [hello.core.member.MemberRepository] - did you specify the correct bean references as arguments? at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:787) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1354) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) at org.springframework.context.support.GenericXmlApplicationContext.<init>(GenericXmlApplicationContext.java:71) at hello.core.xml.XmlAppContext.xmlAppContext(XmlAppContext.java:14) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:84) at org.eclipse.jdt.internal.junit5.runner.JUnit5TestReference.run(JUnit5TestReference.java:98) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) 이렇게 에러가나는데 오타는 없는거같은데 구글링해봐도 아직 원인을 모르겠습니다.......... 스프링에 대해서 무지하니 구글링해도 해결할수 없는게 원통하네요ㅜㅜㅜㅜ 얼른 완강해서 제 힘으로 에러 해결해보고싶습니다..
-
미해결30분 요약 강좌 시즌2 : Python 활용편
질문합니다!
안녕하세요 numpy, pandas 요약강의 보다가 궁금한게 생겨서요! 12:14 에서 보면 f =np.empty([2, 3])으로 소괄호 안에 대활호로 정의하고, g=np.full( (3, 4), 1000) 에서는 왜 소괄호 안에 소괄호로 정의하는데 왜 두 개 다 같은 형의 행렬이 나오나요? 행렬 만들 때 () 와 []는 상관 없이 리스트값으로 나오는 건가요??
-
미해결[개정판] 딥러닝 컴퓨터 비전 완벽 가이드
시각화 강의문의
pycocotools를 이용하여 변환된 coco json의segmentation 시각화 설명 강의가 없고 바로 pretrained 모델 다운로드로 넘어 온것같은데 확인 한번 부탁드리겠습니다 ~
-
미해결[개정판] 딥러닝 컴퓨터 비전 완벽 가이드
HSV 질문
안녕하세요~ 질문이 있습니다~! HSV를 왜 사용해야만 하는지 알고 싶습니다
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
아바타와 유저네임 에러
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 Vi관련 문의는 1:1 문의하기를 이용해주세요. avatar와 유저네임을 가져오기 위해 video.writer.name 이나 image를 사용하면 property 값을 찾기 못한다는 에러가 계속 뜹니다. video의 다른 정보들은 array값에 잘 전달되어서 오는데 왜 에러가 나는지 모르겠습니다.. 혹시 저와 같은 에러가 생기는 분 계신가요
-
미해결15일간의 빅데이터 파일럿 프로젝트
virtualbox에서 pilot project vm을 가져오는 방법
1.죄송합니다. virtualbox에서 pilot project vm을 가져오는 방법을 가르쳐 주십시요 virtual box 5.0을 깔고 , 새로만들기에서 server01로 이름을 만들고, 순서대로 하는데 안되네요
-
미해결[개정판] 파이썬 머신러닝 완벽 가이드
선생님 kfold 질문있습니다.
강의 너무 잘듣고 있습니다 항상 감사드립니다. kfold 로 데이터나눌때 데이터프레임으로 변환하고 데이터를 넣으니까 이런오류가 뜨는데 어떻게 해야하나요?? kfold뒤 매개변수에 데이터프레임은 안되고 numpy 형태만 가능한가요?? 자세한 설명 부탁드립니다 ㅠㅠ
-
미해결Slack 클론 코딩[백엔드 with NestJS + TypeORM]
.env error
import { TypeOrmModuleOptions } from '@nestjs/typeorm'; import dotenv from 'dotenv'; dotenv.config(); console.log(__dirname); const config: TypeOrmModuleOptions = { type: 'mariadb', host: process.env.TYPEORM_HOST, port: +process.env.TYPEORM_PORT, username: process.env.TYPEORM_USERNAME, password: process.env.TYPEORM_PASSWORD, database: process.env.TYPEORM_DATABASE, entities: [__dirname + '/**/*.entity{.ts,.js}'], migrations: [__dirname + '/src/migrations/*.ts'], cli: { migrationsDir: 'src/migrations' }, charset: 'utf8mb4', logging: false, synchronize: true, keepConnectionAlive: true, }; export = config; 이렇게 사용을 하는데 dist/ormconfig.js:3 dotenv_1.default.config(); ^ TypeError: Cannot read property 'config' of undefined 이런 에러가 뜸니다 따로 뭐한게 없는데 왜 그럴까요?
-
미해결[리뉴얼] Node.js 교과서 - 기본부터 프로젝트 실습까지
aws ec2에서 pm2 사용
안녕하세요. nodejs 공부 중인 학생입니다. ec2로 공부용으로 시험삼아 한번 배포를 해보았습니다. window에서 ssh로 연결하여 기존 예제들을 github에서 다운받아 실행 해보았습니다.아무래도 일반적인 node app.js 명령어로 실행하면 ssh창을 종료할때 서버도 같이 종료되게 되니pm2를 사용하여 창을 종료해도 서버는 계속 돌아가게 해보았습니다. 그런데 계속 ec2에선 pm2 status가 errored가 계속 뜹니다. 코드는 이상이 없는 것을 확인하였습니다. (예제를 활용하고, 개인 컴퓨터에선 정상작동 했기 때문에) 제가 몇시간 동안 계속 고민을 해봤는데 내린 결론은pm2는 멀티 프로세스 방식이고, 저는 공부로 시험삼아 한거기 때문에 t2.nano ( 코어개수: 1) 로 하여서 pm2에 코어하나를 썼기 때문에 노드 서버를 실행할수있는 여분 코어가 없으니 계속 errored가 뜬다고 결론 지었습니다. 좀 내용이 길었지만, 제가 생각한 내용이 맞을까요?
-
미해결작정하고 장고! Django로 Pinterest 따라만들기 : 바닥부터 배포까지
IP 주소로 들어가면 장고 사이트가 뜨지않고 여전히 nginx가 뜹니다.
안녕하세요. 54강 보면 마지막에 IP주소로 들어가면 바로 nginx가 아닌 연결된 장고 사이트로 접속 되는데 저는 여전히 nginx가 뜨네요. 강사님이랑 똑같이 진행한것같은데 안됩니다. 어떤 부분이 잘못된것일까요? nginx.conf 파일질라 nginx 컨테이너 설정값 django_container_gunicorn 참고로 aws입니다.
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
빌드 에러 발생
위와 같은 에러가 발생하는데 어떻게 처리하면 되나요?
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part1: C# 기초 프로그래밍 입문
가변 배열 잘못말한거 아닌가요?
가변배열부분에 [..] [......] [...] 부분을 만들기위해선 int[][] a=[3][]; a[0]=new int[3]; a[1]=new int[6]; a[2]=new int[2]; 라고 헀는데 a[0]=new int[2]; a[1]=new int[6]; a[2]=new int[3]; 이거 아닌가요? 순간 내가 잘못알고있는건가 해서 인터넷 찾아봤는데 밑부분이 맞는거같은데
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
변경 감지와 병합 부분 질문 있습니다!
안녕하세요! 강의 듣다가 궁금한 점이 생겨서 질문 드립니다! itemController의 updateItem 메서드에서 Book book = new Book();book.setId(form.getId()); book.setName(form.getName());book.setPrice(form.getPrice());book.setStockQuantity(form.getStockQuantity());book.setAuthor(form.getAuthor());book.setIsbn(form.getIsbn());itemService.saveItem(book); 이런식으로 book을 생성하면 준영속 상태라고 말씀하셨는데요. 이는 db에 한번 저장되었던 객체를 꺼내면 무조건 준영속 상태가 되는게 아니라 findOne을 통해 db에서 꺼내온 객체를 넣어준 것이 아니고 단지 new로 객체를 생성하고 파라미터로 받은 form을 통해 값을 넣어 주었기 때문에 준영속 상태라는 것인지 궁금합니다!
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
axios base 설정 질문드립니다.
안녕하세요. 혹시 axios base 설정을 saga index 에서 설정하는 이유가 있을까요??
-
미해결스프링 핵심 원리 - 기본편
동기화 되어야 하는 API 에 대한 질문입니다!
안녕하세요, 항상 양질의 강의 감사드립니다! 강의를 듣고 실습을 하다가 질문이 생겨서 글을 남깁니다:) API 를 만들다 보면 결제와 같은 중요한 API 들을 만들 일이 종종 생기는데 이러한 API 들은 중복요청이 되면 안된다고 들었는데요, 이에 대해 PRG 개념을 강사님이 언급을 해주시긴 했는데 만약 API 서버라면 실무에서 이에 대한 동시성 처리를 어떻게 해주는지 궁금합니다. 좀 더 구체적으로 예시를 들어 말씀드리면 Spring 은 기본적으로 Thread 기반으로 각 request 별로 api 기능들이 실행되는 것으로 알 고 있는데 A 라는 유저의 동일한 상품 결제 요청이 정확히 같은 시간에 두개의 요청이 들어온 상황이라 할 때 중복결제를 막으려면 실무에서 어떤 방식으로 처리를 하는지 궁금합니다. 감사합니다!
-
미해결Slack 클론 코딩[백엔드 with NestJS + TypeORM]
FileFieldsInterceptor 관련 질문입니다.
aws s3를 사용하여 이미지를 저장 중인데요. FileFieldsInterceptor 을 사용하여 s3로 저장하는데에는 문제는 없습니다. 근데 이게 게시물에서 이미지를 업로드하는 경우라서, 게시물 작성시에는 문제가 없습니다만, 게시물 수정시, 원래 이미지를 같이 보내버리면 이미 s3에 있음에도 s3에 전부 저장이 됩니다.... 제가 이미지 경로는 따로 DB에 넣어서 보관하고 있는데요, 혹시 FileFieldsInterceptor를 제가 상속받아서 파일 저장하기 전에 앞단에서 이미 저장한 파일인지 파악할 수 있는 로직을 추가 하려면 어떻게 해야 할까요?
-
미해결현존 최강 크롤링 기술: Scrapy와 Selenium 정복
pip install scrapy 오류
안녕하세요, 강사님. 정말 좋은 강의 덕분에 크롤링 기술을 열심히 익히는 중입니다. 오늘 scrapy 강의를 듣기 위해 cmd에서 pip install scrapy를 실행하였고, (Window 사용중입니다) 정상적으로 설치된 것처럼 보여 다음단계로 넘어가려고 하였으나 지정된 모듈이 없다며 오류가 뜹니다. 모듈이 제대로 설치된 것 같지 않아 처음에는 pip uninstall 후 재설치 하였으나 같은 오류가 발생하였고, 강사님께서 언급해주신 세 가지 pip 설치 후에도 같은 오류 발생, 마찬가지로 Visual Studio도 설치하였으나 같은 오류가 발생하였습니다. 오류를 해결하기 위하여 검색하였더니 python이 두 개가 설치되어 있는 경우 같은 오류가 발생할 수 있다고 하여 anaconda를 포함하여 python과 관련된 모든 프로그램 삭제 후 재설치 하였으나 역시 같은 오류가 발생하였습니다. 어떻게 해결해야할까요? ------------------ 이 글을 쓰고 혹시나해서 과거에 설치했던 pycharm을 실행해서 pycharm에 내장된 terminal에 실행했더니 정상실행되는 것 같습니다. 같은 경로로 표시되는데..... pycharm terminal에서는 되는데 기존 window terminal에서는 왜 안되는 걸까요?
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
08:02 SSH 키 접근이 안되면
window기준으로 git bash로 여시고 cat ~/.ssh/id_rsa.pub 해보시면 나옵니다!