묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
해결됨최신 딥러닝 기술 Vision Transformer 개념부터 Pytorch 구현까지
행렬 차원 수 질문
안녕하세요.'비전 트랜스포머-최신 모델' 강의 11:36 근처 슬라이드를 기준으로 질문드리겠습니다. (사실 그 이후부터 계속 지속적으로 차원 혼동이 있는 것 같아서, 하나를 기준삼아서 질문드리면 나머지가 저절로 해결될 것 같습니다.) p=(size of patch)로 정의를 하고 사진을 N개로 쪼갠다고 가정했을 때, 그것을 flatten시켜준 각각의 벡터들, (x_{p}^{i}, i=1,...,N)이라고 가정했을 때, 해당 벡터는 P^2*C 차원의 벡터들이 되는 거잖아요? 그렇다면, 그 N개의 벡터들을 concatenate하여 행렬 x_p를 구축했을 때, 그 차원은 (P^2*C) by N이 되어야 하는게 아닌가요? 이 이후부터 슬라이드에서는 가로와 세로가 뒤바뀌어 있는 것 같은데 뭐 실전에서는 transpose하면 되는 문제긴 하지만 나름대로 엄청나게 궁금해져서 질문을 드려봅니다. 설명을 해주신거나 그림을 그려주시는 것은 모두 x_{p}^{i}가 열벡터이고 concatenate를 하실 때 row-wise가 아니라 column-wise로 합치신 것 같아서 그렇게 생각이 들었습니다.
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part3: 유니티 엔진
GetComponentInChildren<T>() 메소드 오류
UI 자동화 #1 강의 중 FIndChild 유틸함수를 만드는 과정에서 SC1579 오류가 발생합니다. "T에는 'GetEnumerator'의 공개 인스턴스 또는 확장 정의가 없다"라고 하면서 실행이 되지 않는데 이 부분이 이해가 되지 않아 질문글을 작성하게 되었습니다..
-
미해결스프링 핵심 원리 - 고급편
다중 상속
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]인스턴트에 인터페이스가 있다면 JDK 동적 프록시를 사용하고 그렇기 때문에 "proxyFactory.getProxy()"의 반환값을 인터페이스로 타입 캐스팅할 수 있다고 알려주셨습니다. 그런데 만약이 객체가 인터페이스를 다중 상속하고 있다면 어떻게 동작하나요? 예를 들어서이런 예제가 있다고하면 InterfaceImpl는 A와 B 인터페이스를 모두 구현한 건데 JDK 동적 프록시는 InterfaceImpl이 A를 구현한건지 B를 구현한건지 어떻게 구분할까요?참고로 test 코드를 작성해보니 A와 B 둘다 타입 캐스팅이 되네요
-
해결됨천배 수익이 가능한 디파이(DeFi), 코인 생태계 지도
제언
블로그타고왓습니다개인적으로 굉장히양질의강의를 저렴하게들어 죄송? 할 느낌이들정도엿습니다 제언하자면 돈버는데좀 직접적인걸 올려주시면 추가 결제하고싶을거같아요!예를들어 블로그에 코스모스를통해 에어드랍하는법도 올려주신거라든가디파이이자농사라든가각종미션들과 트래픽을만들어서 신규코인(ex 앱토스)를 에어드랍받는법? 그런것들이요ㅎㅎ아무튼 유익한시간이엇습니다. 스타일도멋지세요. 화이팅!
-
해결됨스프링 부트 - 핵심 원리와 활용
프로메테우스가 요청을 보내고 서버에서 406에러를 반환합니다.
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================실습을 위해서 영상을 따라해서 프로메테우스를 실행시켰는데status가 down으로 뜨고 406을 반환한다는 내용이 잇었습니다. 로그를 확인해 보니resolved [org.springframework.web.httpmediatypenotacceptableexception: no acceptable representation]이렇게 뜨는데 왜 그러는 건가요 ㅠㅠ/actuactor/prometheus url로 접속시 데이터는 잘 반환하는데 프로메테우스에서 해석할 수 없는 형태로 포멧되고 있는 걸까요..? 영한님 영상과 비교했을 때 크게 다른 부분은 보이지 않았던 것 같습니다. 요청은 1초마다 잘 가는데 뭔가 문제가 있는 것 같습니다. yml은 내용 그대로 복사해서 아래처럼 작성했습니다..!global: scrape_interval: 15s evaluation_interval: 15salerting: alertmanagers: - static_configs: - targets: # - alertmanager:9093rule_files:scrape_configs: - job_name: "prometheus" static_configs: - targets: [ "localhost:9090" ] #추가 - job_name: "spring-actuator" metrics_path: '/actuator/prometheus' scrape_interval: 1s static_configs: - targets: [ 'localhost:8080']
-
미해결스프링 MVC 2편 - 백엔드 웹 개발 활용 기술
폼 데이터 포맷터가 안되요
여기서 폼 제출하면 문자열"10,000"을 Integer로 변환할 수 없다고 나와요
-
미해결스프링 DB 1편 - 데이터 접근 핵심 원리
ConnectException이 잡히지 않는 이유
[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예)[질문 내용]checked() 테스트에서 아래와 같이 isInstanceOf(SQLException.class)를 ConnectException.class로 변경하면 왜 테스트가 통과되지 않는지 궁금합니다 ! @Test void checked() { Controller controller = new Controller(); Assertions.assertThatThrownBy(() -> controller.logic()) .isInstanceOf(ConnectException.class); }public void logic() throws SQLException, ConnectException { service.logic(); } service.logic()에서 두 예외가 다 밖으로 던져졌으니 테스트에서도 ConnectException가 발생하는게 아닌가요?
-
미해결TEXTOM SV로 해보는 빅데이터 분석 (정제부터 시각화까지)
첫번째 텍스톰실습 강의자료는 없는지요?
텍스톰실습 심화는 강의 자료가 있는데 첫번째 텍스톰실습 강의자료가 보이지 않아서 찾는 방법 부탁합니다.
-
해결됨[파이썬/Python] 문과생도 이해하는 DFS 알고리즘! - 입문편
PyPy3와 Python3
백준에서 bfs와 dfs 관련 문제를 추가적으로 풀다보니까, Python3에서는 시간 초과를 해결되지 않는 문제가, PyPy3에서는 해결되는 경우가 있습니다.이럴 때는 Python3에서도 해결 가능하도록 시간 복잡도를 줄이기 위해 노력해야 할까요?아니면 PyPy3 환경에서 정답임을 만족해야 할까요...?
-
미해결Flutter 초급 - Http통신, 상태관리
pubspec.yaml 파일에서 Pub get이 안됩니다.
좀 더 상세한 코드입니다.name: flutter_cart_bloc_exam description: A new Flutter application. version: 1.0.0+1 environment: sdk: ">=2.12.0 <3.0.0" dependencies: flutter: sdk: flutter cupertino_icons: ^0.1.2 flutter_bloc: ^7.0.0 http: ^0.12.0+1 dev_dependencies: flutter_test: sdk: flutter test: ^1.24.9 test_api: ^0.5.1 flutter: uses-material-design: true처음에 환경의 sdk 관련해서 2.7로 변경한 이후에 null 관련된 정보들 및 다른 분들이 작성한 코드들을 확인하며 수정을 모두 완료했습니다. 그런데 Pub get 관련해서 가져오더라도 계속 오류가 발생하네요.@override bool updateShouldNotify(InheritedWidget oldWidget) => true; static CartBloc of(BuildContext context) => (context.dependOnInheritedWidgetOfExactType<CartProvider>() as CartProvider) .cartBloc;어떻게든 맞춰서 실행을 해봤지만 실행 버전이 달라 마이그레이션이 필요하다는 오류를 다시한번 받게 되었습니다. . . + 안드로이드의 gradle 파일이 잘못되었고, 버전이 잘못되었다는 오류가 발생해서 다시 롤백 후 삽질을 해봤습니다. 그래서 sdk가 2.7이어야만 하는 것인가? 생각이 되어 별도의 삽질을 해봤는데 안되네요. 아무래도 제가 깃에서 클론받은 프로젝트로 진행하다보니 이러한 문제가 발생했다고 생각이 되는데 혹시 해결책이 따로 있을까요? 일단은 새로 프로젝트 생성해서 처음부터 다시 진행해 볼 예정입니다. 제가 궁금한 부분은 git에서 클론받은 프로젝트가 있을 때 그래도 pubspec.yaml 파일에서의 라이브러리를 불러오는 것까지는 필요할 것 같은데( + 추후에 버전이 달라질 경우 운영 중인 프로젝트를 새로 만드는 것은 말이 안되기 때문에), 혹시 어느 키워드로 파고들어서 찾아야 할지, 혹은 별도의 해결책이 있으신지가 궁금합니다. 감사합니다.!
-
미해결Next + React Query로 SNS 서비스 만들기
2:56 src/app/page.tsx 파일을 이동해도 메인페이지가 잘 나오는 이유가 궁금합니다.
[제로초 강좌 질문 필독 사항입니다]질문에는 여러분에게 도움이 되는 질문과 도움이 되지 않는 질문이 있습니다.도움이 되는 질문을 하는 방법을 알려드립니다.https://www.youtube.com/watch?v=PUKOWrOuC0c페러렐 라우트용 @modal 페이지를 메인 page.tsx ( src/app/page.tsx ) 에서 사용하기위해 (beforeLogin) 경로로 이동시켰는데, Next.js 가 어떻게 메인페이지를 인식하고 표시하는지가 궁금합니다.Next.js 프로젝트 폴더구조에서 가장 app 폴더와 근접해있는 page.tsx 파일이 메인으로 인식되는건가요.. ㅠㅠ?현재 app 폴더에 layout.tsx(RootLayout) 밖에 없는데 그 파일에서 children 으로 받아지는 page.tsx 가 어떻게 결정되는지가 궁금합니다.
-
미해결자바(Java) 알고리즘 문제풀이 입문: 코딩테스트 대비
11. 임시반장 정하기 런타임 에러 관련 질문 드립니다.
강사님 안녕하세요. 좋은 강의 잘 듣고 있습니다. 임시반장 정하기 문제에서 강사님이 작성해주신 코드와 동일하게 solution 메서드를 만들었다고 보이는데 런타임 에러로 나오는거 같습니다. 혹시 원인을 알 수 있을까요? 감사합니다. import java.util.*; public class Main { public int Solution(int n, int[][] array) { int answer=0, max=Integer.MIN_VALUE; for(int i=1; i <=n; i++) { int cnt = 0; for(int j=1; j<=n;j++) { for(int k=1; k<=5;k++) { if(array[i][k] == array[j][k]) { cnt++; break; } } } if(cnt>max) { max = cnt; answer = i; } } return answer; } public static void main(String[] args) { Scanner in=new Scanner(System.in); int n = in.nextInt(); Main T = new Main(); int[][] array = new int[n][n]; for(int i = 0; i < n ; i++) { for(int j = 0; j < n ; j++) { array[i][j] = in.nextInt(); } } System.out.println(T.Solution(n, array)); } }
-
해결됨AWS 배포 완벽가이드 (feat. Lightsail, Docker, ECS)
ecs deploy 용량 공급자
용량 공급자와 같은 설정에 대해서 질문이 있습니다기존의 fargate로 배포해놓은 ecs 서비스에 용량 공급자 설정을 fargate_spot으로 변경하여 서비스 업데이트 한 후,강사님께서 짜주신 ecs git action을 통해 배포하면 fargate spot이 적용이 될까요?
-
미해결
Best Architects and Interior Designers in Lahore | Hiline
IntroductionAt Hiline, we take pride in being amongst the best architects in Lahore and leading providers of architectural services that transcend the ordinary. Our commitment to crafting spaces that reflect individuality, functionality, and aesthetics sets us apart. From architectural marvels to innovative interior designs, we redefine spaces, making them more than just structures but reflections of unique visions. Hiline is one of the leading architecture and interior design firms in Lahore, Pakistan. With over a decade of experience, they have worked on various commercial and residential projects across the city. This article provides an overview of their services and some of their renowned projects.Architectural Design ServicesHiline employs licensed architects who are experts in conceptualizing, planning and designing structures. They start every project by thoroughly understanding the client's brief and vision. Their architects utilize the latest 3D modeling and rendering software to conceptualize designs. Various factors like site location, climate, budget and regulations are taken into consideration.For commercial projects, they have expertise in designing offices, hospitals, schools, malls and other such buildings. Their team of best architects in Lahore ensures that the designs are functional as well as aesthetically pleasing. Proper zoning, lighting and ventilation are some key aspects they focus on.Elevating Architectural VisionOur team comprises highly skilled and creative architects dedicated to turning your dreams into tangible, breathtaking structures. We understand the importance of merging aesthetics with functionality, ensuring that every design reflects your vision while adhering to practicality. Our services encompass a wide array of architectural needs, from residential to commercial projects, with a keen eye for detail and innovation.Interior Design ServicesIn addition to architecture, Hiline also provides top-notch interior design services. They employ some of the best interior designer in Lahore who have extensive experience in residential and commercial projects. These designers carefully plan out interior spaces, select finishes, furniture, fixtures and decor items.For homes, their designers offer concepts and execution for areas like living rooms, bedrooms, kitchens, bathrooms, outdoor spaces and more. Client preferences, lifestyle and budget are key factors. Modern, minimalist or eclectic styles can be achieved.Their commercial interior design services include planning office layouts, reception areas, cafeterias, conference rooms etc. Aspects like accessibility, aesthetics, functionality and branding are considered. Materials are picked to suit the use and look of each specific space.Exquisite Interior Designing ServicesThe role of interior designer in Lahore goes beyond mere decoration; it's about creating environments that resonate with occupants. Hiline’s interior designing services cater to diverse needs, whether it's revamping residential spaces or conceptualizing captivating commercial interiors. Our team’s expertise lies in understanding your preferences and transforming them into captivating, functional designs.Crafting Uniqueness in DesignIn a city like Lahore, where architecture is a fusion of heritage and modernity, our approach stands out. We blend contemporary trends with timeless elegance, ensuring that each project maintains a balance between cultural roots and futuristic designs. Our dedication to excellence and innovation guarantees that your space isn’t just another construction but a masterpiece that stands the test of time.Unmatched Commitment to QualityAt Hiline, we prioritize quality in every aspect of our work. From the materials we use to the precision in execution, our commitment remains unwavering. We believe in creating spaces that not only meet but exceed expectations, providing our clients with an experience that resonates with our ethos of excellence.ConclusionHiline stands as a beacon of creativity and proficiency in the realm of architecture and interior design in Lahore. Our mission is to transform spaces into living, breathing reflections of your aspirations and visions. Contact us to embark on a journey where innovation, elegance, and functionality converge seamlessly.
-
미해결[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part2: 게임 수학과 DirectX12
이미지가 어둡게 보이는 현상
스크린샷에서 보이는 것 처럼 윈도우 사진 뷰어에서는 정상적으로 보이는 사진이 작성한 프로그램에서는 어둡게 보입니다.png 확장자만 이런가 싶었는데 동일 확장자 다른 사진은 정상적으로 출력되는걸 확인했습니다.혹시 같은 확장자라도 저장하는 방식이 다른걸까요? 마치 감마 보정이 한번 더 들어간 것처럼 보입니다.
-
해결됨홍정모의 따라하며 배우는 C++
공부방식
제가 강의를 듣고 있는데 너무 내용이 많아서요 ..저는 문제풀이를 하면서 해야 궁극적으로 실전능력이 는다고 생각하는데 다듣고 하면 앞에거 다까먹을것 같고 어떻게 활용해야 하나요 ?
-
미해결멀티OS 사용을 위한 가상화 환경 구축 가이드 (Docker + Kubernetes)
kubectl run 관련 문제
저번 실습 후, 복습 과정 중에 다시 테스트를 하려고 하니까 이런 오류가 발생합니다.. 저번 실습에서는 service type 변경하고 kubectl get services 에서 확인한 포트번호를 붙여서 웹 브라우저에 접속 시엔 잘 들어가지는데, 명령어가 안먹히네요!
-
미해결Nuxt.js 시작하기
node 버전 문제 질문입니다.
https://stackoverflow.com/questions/74726224/opensslerrorstack-error03000086digital-envelope-routinesinitialization-e이런 이슈 때문에처음에 빌드 시 에러가 나서 진행을 못하다가 버전을 20 -> 18 -> 16 하니까 이제되더라고요 혹시 어떤 문제인지 알수있을까 궁금합니다.
-
미해결Nuxt.js 시작하기
폴더구조 다른것 안내 부탁드려요
다른분이 문의하신것 처럼 파일 구조가 다르게 생성되어서 수업 중간부터 default.vue도 없고 앞으로 수업을 따라가기가 걱정되네요. 아무래도 초보인데 폴더구조부터 달라버리면 막히거든요….이런 혼동이 생기지 않도록 강의 초반에 안내를 해주셨으면 좋겠습니다. 그리고 추가 강의도 올려주신다고 댓글 달아주신거 같은데 어디서 확인할수있는지 안내 부탁드려요 ㅜㅜ
-
미해결스프링 DB 2편 - 데이터 접근 활용 기술
JPAQueryFactory 스프링 빈으로 등록하고 사용 시 질문
[질문 내용]JPA와 SPRING DATA JPA 모두 동적 쿼리 작성에 문제에 어려움이 있었고 이를 위해 querydsl을 적용하는것이기에 무의식적으로 JpaItemRepositoryV2를 복사해서 동적 쿼리 작성하는 부분만 변경하려했습니다. 테스트는 잘통과합니다만 위와 같이 JPAQueryFactory를 빈으로 등록하고 사용하는 것이 맞는걸까요? 아직 빈 등록 및 의존관계 주입하는 게 익숙치 않아서 스스로 확신이 안듭니다. 위 코드에서 빈으로 등록하고 주입되는 과정은 나름 알고있으나 좀 더 구조적?으로 개선될 방향이 있는지 궁금합니다.(문법적으론 문제가 없으나 이렇게 하면 더 좋다) 감사합니다