설계독학맛비's 실전 AI HW 설계를 위한 바이블, CNN 연산 완전정복 (Verilog HDL + FPGA 를 이용한 가속기 실습)
안녕하세요. 맛비님 강의영상 잘보고 있습니다. 다름이 아니라 영상도중에 이해가 되질 않아서 글 올립니다. 질문 챕터 : 15:12 쯤에 Inception Network 설명하는 부분입니다. 질문 내용 : 1x1 Conv 연산으로 각각의 channel 갯수가 각각 64, 96, 16으로 줄어드는 것 까지는 이해하였습니다. 근데 기본적으로 3x3 5x5 conv 연산을 하거나 pooling (3x3 max)연산을 진행하게 되면 feature map size가 padding을 하지 않는 이상 줄어들어야 하는게 맞는데, 왜 28x28로 고정이 되는지 알고싶습니다. 만약 3x3연산은 padding통해 output feature map size가 28x28이 되었다고 한다면, 5x5도 padding인가요? 만약 padding이라면 상하좌우 2칸씩 늘려야하는데, zero padding을 사용하는건가요?
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 1. 강의 내용과 관련된 질문을 남겨주세요. 2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요. (자주 하는 질문 링크: https://bit.ly/3fX6ygx) 3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요. (질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG) 질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요. ========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예/아니오) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오) [질문 내용] 여기에 질문 내용을 남겨주세요. 4:50 에서 java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null) at org.mockito.internal.configuration.plugins.PluginLoader$1.invoke(PluginLoader.java:85) at jdk.proxy2/jdk.proxy2.$Proxy46.getHandler(Unknown Source) at org.mockito.internal.util.MockUtil.getMockHandlerOrNull(MockUtil.java:158) at org.mockito.internal.util.MockUtil.isMock(MockUtil.java:147) at org.mockito.internal.util.DefaultMockingDetails.isMock(DefaultMockingDetails.java:32) at org.springframework.boot.test.mock.mockito.MockReset.get(MockReset.java:106) at org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener.resetMocks(ResetMocksTestExecutionListener.java:85) at org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener.resetMocks(ResetMocksTestExecutionListener.java:73) at org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener.beforeTestMethod(ResetMocksTestExecutionListener.java:60) at org.springframework.test.context.TestContextManager.beforeTestMethod(TestContextManager.java:320) at org.springframework.test.context.junit.jupiter.SpringExtension.beforeEach(SpringExtension.java:240) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Suppressed: java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null) at org.mockito.internal.configuration.plugins.PluginLoader$1.invoke(PluginLoader.java:85) at jdk.proxy2/jdk.proxy2.$Proxy46.getHandler(Unknown Source) at org.mockito.internal.util.MockUtil.getMockHandlerOrNull(MockUtil.java:158) at org.mockito.internal.util.MockUtil.isMock(MockUtil.java:147) at org.mockito.internal.util.DefaultMockingDetails.isMock(DefaultMockingDetails.java:32) at org.springframework.boot.test.mock.mockito.MockReset.get(MockReset.java:106) at org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener.resetMocks(ResetMocksTestExecutionListener.java:85) at org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener.resetMocks(ResetMocksTestExecutionListener.java:73) at org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener.afterTestMethod(ResetMocksTestExecutionListener.java:67) at org.springframework.test.context.TestContextManager.afterTestMethod(TestContextManager.java:487) at org.springframework.test.context.junit.jupiter.SpringExtension.afterEach(SpringExtension.java:278) ... 2 more Caused by: java.lang.IllegalStateException: Internal problem occurred, please report it. Mockito is unable to load the default implementation of class that is a part of Mockito distribution. Failed to load interface org.mockito.plugins.MockMaker at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.create(DefaultMockitoPlugins.java:105) at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.getDefaultPlugin(DefaultMockitoPlugins.java:79) at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:75) at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:49) at org.mockito.internal.configuration.plugins.PluginRegistry.<init>(PluginRegistry.java:29) at org.mockito.internal.configuration.plugins.Plugins.<clinit>(Plugins.java:26) at org.mockito.internal.MockitoCore.<clinit>(MockitoCore.java:71) at org.mockito.Mockito.<clinit>(Mockito.java:1683) at org.springframework.boot.test.mock.mockito.MockReset.get(MockReset.java:105) at org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener.resetMocks(ResetMocksTestExecutionListener.java:85) at org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener.resetMocks(ResetMocksTestExecutionListener.java:73) at org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener.beforeTestMethod(ResetMocksTestExecutionListener.java:60) at org.springframework.test.context.TestContextManager.beforeTestMethod(TestContextManager.java:320) at org.springframework.test.context.junit.jupiter.SpringExtension.beforeEach(SpringExtension.java:240) ... 2 more Caused by: java.lang.reflect.InvocationTargetException at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.create(DefaultMockitoPlugins.java:103) ... 15 more Caused by: org.mockito.exceptions.base.MockitoInitializationException: Could not initialize inline Byte Buddy mock maker. It appears as if your JDK does not supply a working agent attachment mechanism. Java : 17 JVM vendor name : Amazon.com Inc. JVM vendor version : 17.0.11+9-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 17.0.11+9-LTS JVM info : mixed mode, sharing OS name : Windows 11 OS version : 10.0 at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.<init>(InlineDelegateByteBuddyMockMaker.java:260) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.<init>(InlineByteBuddyMockMaker.java:23) ... 18 more Caused by: java.lang.IllegalArgumentException at java.instrument/sun.instrument.InstrumentationImpl.appendToClassLoaderSearch0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.appendToBootstrapClassLoaderSearch(InstrumentationImpl.java:220) at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.<clinit>(InlineDelegateByteBuddyMockMaker.java:177) ... 19 more Caused by: [CIRCULAR REFERENCE: java.lang.IllegalStateException: Internal problem occurred, please report it. Mockito is unable to load the default implementation of class that is a part of Mockito distribution. Failed to load interface org.mockito.plugins.MockMaker] 이러한 에러가 생깁니다
이전 스프링 MVC 1편에서 스프링 부트를 실행하면 내장 톰켓 서버를 내부에 띄워 서블릿 컨테이너를 생성한다고 배웠는데요. 이 때, 서블릿 컨테이너가 생성되면서 필터 초기화 메서드 역시 실행된다고 볼 수 있을까요? 또한 종료 시점 역시도 위와 같이 스프링 부트를 종료하면 서블릿 컨테이너가 종료되면서 필터 종료 메서드가 호출이 된다고 이해하는 것이 맞을까요?
안녕하세요 교수님, 교수님의 강의에서 늘 큰 도움을 얻고 있습니다. Actor에서 상속된 Fountain의 NetDormancy 프로퍼티의 초기화를 하던 중 문제가 발생했습니다. 생성자에서 다음과 같이 초기화하였으나 클라이언트는 여전히 서버로부터 리플리케이션이 이뤄지는 것을 확인했습니다. NetDormancy = DORM_Initial; 그래서 다음의 버전들도 시도했으나, 여전히 휴면상태는 이뤄지지 않았습니다. NetDormancy = Super::SetNetDormancy(DORM_Initial); 또는 NetDormancy = ENetDormancy::DORM_Initial; 제가 지금 사용하는 언리얼 엔진의 버전은 5.4입니다. 혹시 버전에 따른 업데이트로 발생한 문제일까요?
안녕하세요 싱글턴 관련해서 질문이 있습니다 싱글턴 클래스가 결국 어느 위치에서든 참조할 인스턴스를 생성하는건데 static으로 선언한 클래스도 동일한 기능을 하잖아요? static 클래스로 선언안하고 singleton으로 구현하는 자세한 이유가 궁금합니다! 관련해서는 사실 찾아보면서 대략적으로 알고는 있는데 뭔가 더 명료한 답변이 필요하고 현업에 관해서도 얘기를 들을 수 있으면 좋을거같아 질문드립니다 좋은강의 감사합니다
안녕하세요 강사님 local variables에 여러개의 생삭을 한번에 등록 하는 방법으로 색상표를 만들고 낱개별로 하나씩 이름을 지정해준 다음 Stlyer플러그인으로 스타일 등록 후 Styles to Variables로 등록해주는 순서로 해보았는데 혹시 한번에 더 많은 색상을 최종적으로 local variables 에 등록 할수있는 방법이 있을까요?
계속 에러를 해결해보려했지만 어디부분이 잘못된건지 알고싶어 글 남깁니다 처음에 프로젝트를 생성하고 나서 안드로이드는 실행되지만 해당 프로젝트 화면은 나오지않아 npx react-native run-android로 다시 실행하면 사진과 같은 에러가 발생합니다.Gradle , JDK와 관련된 에러같은데 삭제를 시도해보고 다시 설치해봣지만해결되지 않네요 ㅠ 어디 부분이 문제인지 몰라 일단 몇개 사진 첨부합니다.! zshrc
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 1. 강의 내용과 관련된 질문을 남겨주세요. 2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요. (자주 하는 질문 링크: https://bit.ly/3fX6ygx) 3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요. (질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG) 질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요. ========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예/아니오) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오) [질문 내용] 여기에 질문 내용을 남겨주세요. 엔티티에 Getter와 Setter를 넣어주는 이유가 궁금합니다. 엔티티를 짤 때 다대다 관계를 넣으면 안되는 이유가 궁금합니다 3.
16:17 print('Combined ~', ~); 에서 %.5lf 가 궁금합니다. 일단 %.5f 라면 소수점 다섯번째자리 표시하는 건데, 이때 반올림을 하는 건가요? 그리고 %.5f 사이에 있는 'l'의 의미를 모르겠습니다. 18:11 float fnum = 3.14f; 라고 되어있는데 3.14 뒤에 붙은 f는 오타일까요? 아니면 다른 뜻이 있는 건가요? 출력 결과를 보면 f는 없는 글자처럼 사용된 것 같아 여쭤봅니다.
안녕하세요. 강사님 좋은 강의 잘 듣고 있습니다. 감사합니다. GA4 데모 계정에서, 기여 분석 경로 내 '전환까지의 소요 일수', '전환까지의 터치포인트수' 지표에 마우스를 올려보니 아래와 같이 설명되어 있어서요. '전환까지의 소요 일수' = '광고 상호작용이 발생 한 후 전환까지 소요된 일수' '전환까지의 터치포인트 수 ' = '사용자가 전환하기까지 걸리는 광고 상호작용 횟수' 2개 지표 모두 사용자 <> 광고간의 상호작용을 기반인 것으로 이해하였습니다. 제가 이해한 부분이 맞다면 결국 해당 지표는 Google Ads와 GA4를 연동해야 만 볼 수 있는게 맞을까요? 그리고 기본 채널 그룹에 'Referral x 4 100%'에서 곱하기 4와 100%는 어떤걸의미하는 걸까요? 도움말 먼저 확인해보려고 했는데 관련 정보가 없는 것 같아 여쭙습니다. 0%
강의 1:00 스위치1 -> 스위치2,스위치3 스위치2 -> 스위치4 | 스위치3 -> 스위치4 스위치4 -> 스위치2,스위치3 왜 3번 과정 에서는 다시 전달 받은쪽으로 다시 Flooding을 하게 되는건가요? 스위치2,3 에서는 1 또는 4 로만 Flooding 되는데 왜 스위치 1,4 에서는 전달 받은 양쪽으로 모두 Flooding 을 하는지 이해가 잘되지 않습니다 제가 놓친부분이 있을까요?
안녕하세요. 선생님 강의에서 .env 와 .env.development로 환경 변수가 모드에 따라서 구분 되는 것을 보았습니다. 제가 VITE_BASE_PATH 환경 변수를 설정하고 vite.config.ts 파일에서 vite 설정의 base 옵션에 사용했을 시에도 development 모드와 production 모드가 정상적으로 동작이 될까요? const env = load(mode, process.cwd()) return { base: env.VITE_BASE_PATH, }
질문을 온전히 이해할 수 있도록, 모든 맥락을 전달해주세요. 질문은 질문자가 번거로워야 보다 좋은 답변을 얻으실 수 있습니다. 시행착오를 알려주시면 곧바로 원하는 문제에 집중할 수 있습니다. 오류 메시지는 일부만 알려주시기보다 전체 오류 메시지를 캡처해서 주시면, 오류 파악에 도움이 됩니다. 당신의 파이썬/장고 페이스메이커가 되겠습니다. ;-) 인프런 서비스 운영 관련다문의는 1:1 문의하기를 이용해주세요. 강의를 쭉 따라가면서 실습 중입니다. 강의 자료를 그대로 복사 붙여넣기 하였는데, reviews/new reviews/<pk>/ reviews/<pk>/edit 는 정상 작동하나 reviews/ 의 경우, localhost:8000/accounts/login/?next=/blog/reviews/ 로 redirect 되고 accounts/login이 정의되지 않아 404 not found 에러가 발생합니다 강의 순서 상 profile edit만 accounts app에 구현되어 있는 상황입니다. 하기와 같이 잘 복사해서 사용하였는데 왜 이런 오류가 발생할까요? # views.py review_list = ListView.as_view( model=Review, ) # urls.py path("reviews/", views.review_list, name="review_list"),
안녕하세요. 7강까지 수강한 학생입니다. Test코드를 실행시 왜 이런 오류가 발생하는지 궁금합니다. 에러 메시지는 아래와 같습니다 Coreapplication: 15:37:49.791 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [hello.core.CoreApplicationTests]: CoreApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 15:37:49.833 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration hello.core.CoreApplication for test class hello.core.CoreApplicationTests . ____ _ /\\ / ___'_ __ ( _)_ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.3.1) 2024-07-16T15:37:50.184+09:00 INFO 21812 --- [core] [ main] hello.core.CoreApplicationTests : Starting CoreApplicationTests using Java 17.0.11 with PID 21812 (started by seongmin in C:\core\core) 2024-07-16T15:37:50.185+09:00 INFO 21812 --- [core] [ main] hello.core.CoreApplicationTests : No active profile set, falling back to 1 default profile: "default" 2024-07-16T15:37:50.557+09:00 WARN 21812 --- [core] [ main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'memberServiceImpl' defined in file [C:\core\core\out\production\classes\hello\core\member\MemberServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 0: No qualifying bean of type 'hello.core.member.MemberRepositoy' available: expected single matching bean but found 2: memoryMemberRespositoy,memberRepository 2024-07-16T15:37:50.563+09:00 INFO 21812 --- [core] [ main] .s.b.a.l.ConditionEvaluationReportLogger : Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2024-07-16T15:37:50.594+09:00 ERROR 21812 --- [core] [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: Parameter 0 of constructor in hello.core.member.MemberServiceImpl required a single bean, but 2 were found: - memoryMemberRespositoy: defined in file [C:\core\core\out\production\classes\hello\core\member\MemoryMemberRespositoy.class] - memberRepository: defined by method 'memberRepository' in class path resource [hello/core/AppConfig.class] This may be due to missing parameter name information Action: Consider marking one of the beans as @Primary, updating the consumer to accept multiple beans, or using @Qualifier to identify the bean that should be consumed Ensure that your compiler is configured to use the '-parameters' flag. You may need to update both your build tool settings as well as your IDE. (See https://github.com/spring-projects/spring-framework/wiki/Upgrading-to-Spring-Framework-6.x#parameter-name-retention) contextLoad: java.lang.IllegalStateException: Failed to load ApplicationContext for [MergedContextConfiguration@6fd12c5 testClass = hello.core.CoreApplicationTests, locations = [], classes = [hello.core.CoreApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties .PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@64f857e7, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3d6300e8, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@7927bd9f, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@3d3f761a, org.springframework.boot.test.context.SpringBootTestAnnotation@c6ebefee], contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext( DefaultCacheAwareContextLoaderDelegate.java:180 ) at org.springframework.test.context.support .DefaultTestContext.getApplicationContext( DefaultTestContext.java:130 ) at org.springframework.test.context.support .DependencyInjectionTestExecutionListener.injectDependencies( DependencyInjectionTestExecutionListener.java:142 ) at org.springframework.test.context.support .DependencyInjectionTestExecutionListener.prepareTestInstance( DependencyInjectionTestExecutionListener.java:98 ) at org.springframework.test.context.TestContextManager.prepareTestInstance( TestContextManager.java:260 ) at org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance( SpringExtension.java:163 ) at java.base/ java.util.stream .ReferencePipeline$3$1.accept( ReferencePipeline.java:197 ) at java.base/ java.util.stream .ReferencePipeline$2$1.accept( ReferencePipeline.java:179 ) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining( ArrayList.java:1625 ) at java.base/ java.util.stream .AbstractPipeline.copyInto( AbstractPipeline.java:509 ) at java.base/ java.util.stream .AbstractPipeline.wrapAndCopyInto( AbstractPipeline.java:499 )