제가 작성한 코드 55번째 줄에 fullName.value는 당연히 fulName 값이 ref라서 뒤에 .value를 붙여야 하는것은 이해가 갑니다. 그러나 44번째 줄에서 set(value)안에서 value가 의미 하는것이 어떤것인지, 무엇을 받아왔는지 궁금합니다. 그리고 관리자 모드에서 Vue 창을 띄우고 싶은데 >> 버튼을 눌러서 more Tabs를 눌러도 Vue가 없습니다. 혹시 제가 까먹고 어떤 확장 프로그램을 설치하지 않아서 그런겁니까?
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 1. 강의 내용과 관련된 질문을 남겨주세요. 2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요. (자주 하는 질문 링크: https://bit.ly/3fX6ygx) 3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요. (질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG) 질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요. ========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예/아니오) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오) [질문 내용] 여기에서 어떻게 질문해야지 스냅샷이 선생님이 한것처럼 나오나여?
설계독학맛비's 실전 FPGA를 이용한 HW 가속기 설계 (LED 제어부터 Fully Connected Layer 가속기 설계까지)
단순한 LED/SWITCH 입력 예제를 작성해서 ILA를 추가해 보고자 했습니다. 그런데, Bitstream 생성 후 Program Device를 하고 ILA 활성화가 되지 않네요. 아래와 같은 경고메시지가 나오며, Resolution: 1. Make sure the clock connected to the debug hub (dbg_hub) core is a free running clock and is active. 2. Make sure the BSCAN_SWITCH_USER_MASK device property in Vivado Hardware Manager reflects the user scan chain setting in the design and refresh the device. To determine the user scan chain setting in the design, open the implemented design and use 'get_property C_USER_SCAN_CHAIN [get_debug_cores dbg_hub]'. For more details on setting the scan chain property, consult the Vivado Debug and Programming User Guide (UG908). Program Device 창에는 There are no debug cores 와 같은 상태 메시지가 표시됩니다. 구글링 결과 https://support.xilinx.com/s/article/64764?language=en_US 와 같은 내용이 나오는데, 혹시나 어떻게 조치를 해야 할까요? VIVADO 2021.2 사용중입니다.
강의 8번째 코드 printf("%d\n", *ptr); // 사용자가 입력한 숫자를 dereferencing하려고 해서 당연히 에러가 발생한다 라고 강의에서 언급되는데 사실 정확한 이유를 모르겠어서 제가 추론한 게 맞나 궁금합니다. ptr의 주솟값 자체는 0으로 선언했으나 *ptr, 즉 주소를 따라가서 나타나게 된 그 변수의 값은 null이라서 null을 dereferencing 할 수가 없어서 에러가 생기는 것이다 라고 이해하면 맞을까요?
섹션 1. 무작정 시작해 봅시다. 일단 클라이언트부터! 상품목록페이지 만들기 위 강의 관련해서 상품목록에 sass를 main.tsx 파일에 import 하는 과정에서 계속 오류가 납니다. package.json 에는 "sass": "^1.60.0" 로 깔려있습니다. scss파일에는 index.scss, product.scss 만들었습니다. index.scss 에는 @import "products"; 입력했고, product.scss에는 css를 아래와 같이 입력했습니다. 그리고 나서 main.tsx에 import 했는데 자꾸 첫번째 사진과 같은 오류가 뜹니다. 왜그런걸까요?
안녕하세요. 지금은 안쓰는 JDBC는 ResultSet.getMetaData()를 통해 컬럼명, 타입을 가져올 수 있었는데, EntityManager를 사용하는 경우 Query의 컬럼명을 확인할 수 있는지 궁금합니다. (질문참고) https://m.blog.naver.com/heoguni/130170563284 감사합니다.
안녕하세요, 큰돌님. 정답 코드에서는 문자열로 비교하였으나 숫자로 직접 비교하는 것도 직관적으로 이해하는 것에 괜찮을 거 같아 코드를 작성해보았습니다. 그런데 숫자를 바꾸고 백터에 옮기는 과정 중에 오류가 생겼는지, 더 많은 숫자들이 출력이 됩니다. 이유가 무엇이고 어떻게 고쳐야 하는지 알 수 있을까요? http://boj.kr/365467e927da44928353bd48a3dbbe56 아직 실력이 부족하여 질문이 많은 점 죄송합니다. 나름 오랜시간 고민하였습니다. 백터 대신 배열을 크게 잡아 문제를 풀려고 하였는데, 테스트 케이스의 출력은 나오나 이 역시 틀렸다고 나옵니다. 이유가 무엇일까요? http://boj.kr/50f1df6dee5f423ba7f4bf219d2fdd1c
안녕하세요 정점이 0, 1, 2, 3 순차적으로가 아닌 0, 11, 222, 3333, 4444, 55555, 666666, 1234567890, ~ 이런식으로 중간은 비어있고 값만 크게 들어 오는 경우는 어떤식으로 해결할 수 있을까요?? ex) const int V = INT_MAX; vector<int> adj[V]; adj[0].push_back(11); adj[1234567890].push_back(0);
안녕하세요, 열심히 기초부터 수업을 듣고 있는 학생입니다. 다름이 아니라 학습자료는 노션 계정이 있어야 가능하다고 공지사항에 적어주셨는데 계정 가입 이후의 진행과정은 어떻게 되나요? 노션 계정이 따로 없어서 일단 만들고자 하는데 만든 이후 제가 따로 알려드려야 할 부분이 있을까요?
안녕하세요 선생님 선생님 강의를 통해서 custom dataset을 이용하여 faster-rcnn 모델을 돌려볼 수 있었습니다. 이 custom dataset으로 다른 모델(swin)도 적용해보려고 하는데요 https://github.com/open-mmlab/mmdetection/tree/master/configs/swin 이 페이지의 mask_rcnn_swin-t-p4-w7_fpn_1x_coco.py 파일을 이용해보려고 합니다. 그에 맞게 config파일과 checkpoints를 변경하고 모델을 구동하려고 하니 mask관련해 오류가 발생했습니다. 아마 mask-rcnn으로인해 발생한 오류처럼 보입니다. 구글링을 해보니 이 부분을 주석 처리해서 실행해보라고 하던데 colab에서 해당 부분을 주석처리할 수 있는 방법이 있을까요? 혹시 더 좋은 방법이 있다면 가르쳐 주시면 감사하겠습니다. 2023-03-27 14:19:05,247 - mmdet - INFO - Automatic scaling of learning rate (LR) has been disabled. <ipython-input-14-f8ce61995cc8>:47: DeprecationWarning: `np.long` is a deprecated alias for `np.compat.long`. To silence this warning, use `np.compat.long` by itself. In the likely event your code does not need to work on Python 2 you can use the builtin `int` for which `np.compat.long` is itself an alias. Doing this will not modify any behaviour and is safe. When replacing `np.long`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations 'labels': np.array(gt_labels, dtype=np.long), <ipython-input-14-f8ce61995cc8>:49: DeprecationWarning: `np.long` is a deprecated alias for `np.compat.long`. To silence this warning, use `np.compat.long` by itself. In the likely event your code does not need to work on Python 2 you can use the builtin `int` for which `np.compat.long` is itself an alias. Doing this will not modify any behaviour and is safe. When replacing `np.long`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations 'label_ignore':np.array(gt_labels_ignore, dtype=np.long) 2023-03-27 14:19:08,688 - mmdet - INFO - load checkpoint from local path: checkpoints/mask_rcnn_swin-t-p4-w7_fpn_1x_coco_20210902_120937-9d6b7cfa.pth 2023-03-27 14:19:08,849 - mmdet - WARNING - The model and loaded state dict do not match exactly size mismatch for roi_head.bbox_head.fc_cls.weight: copying a param with shape torch.Size([81, 1024]) from checkpoint, the shape in current model is torch.Size([16, 1024]). size mismatch for roi_head.bbox_head.fc_cls.bias: copying a param with shape torch.Size([81]) from checkpoint, the shape in current model is torch.Size([16]). size mismatch for roi_head.bbox_head.fc_reg.weight: copying a param with shape torch.Size([320, 1024]) from checkpoint, the shape in current model is torch.Size([60, 1024]). size mismatch for roi_head.bbox_head.fc_reg.bias: copying a param with shape torch.Size([320]) from checkpoint, the shape in current model is torch.Size([60]). size mismatch for roi_head.mask_head.conv_logits.weight: copying a param with shape torch.Size([80, 256, 1, 1]) from checkpoint, the shape in current model is torch.Size([15, 256, 1, 1]). size mismatch for roi_head.mask_head.conv_logits.bias: copying a param with shape torch.Size([80]) from checkpoint, the shape in current model is torch.Size([15]). 2023-03-27 14:19:08,856 - mmdet - INFO - Start running, host: root@06d3ab7dae34, work_dir: /content/gdrive/MyDrive/htp_dir_swin 2023-03-27 14:19:08,858 - mmdet - INFO - Hooks will be executed in the following order: before_run: (VERY_HIGH ) StepLrUpdaterHook (NORMAL ) CheckpointHook (LOW ) EvalHook (VERY_LOW ) TextLoggerHook -------------------- before_train_epoch: (VERY_HIGH ) StepLrUpdaterHook (NORMAL ) NumClassCheckHook (LOW ) IterTimerHook (LOW ) EvalHook (VERY_LOW ) TextLoggerHook -------------------- before_train_iter: (VERY_HIGH ) StepLrUpdaterHook (LOW ) IterTimerHook (LOW ) EvalHook -------------------- after_train_iter: (ABOVE_NORMAL) OptimizerHook (NORMAL ) CheckpointHook (LOW ) IterTimerHook (LOW ) EvalHook (VERY_LOW ) TextLoggerHook -------------------- after_train_epoch: (NORMAL ) CheckpointHook (LOW ) EvalHook (VERY_LOW ) TextLoggerHook -------------------- before_val_epoch: (NORMAL ) NumClassCheckHook (LOW ) IterTimerHook (VERY_LOW ) TextLoggerHook -------------------- before_val_iter: (LOW ) IterTimerHook -------------------- after_val_iter: (LOW ) IterTimerHook -------------------- after_val_epoch: (VERY_LOW ) TextLoggerHook -------------------- after_run: (VERY_LOW ) TextLoggerHook -------------------- 2023-03-27 14:19:08,859 - mmdet - INFO - workflow: [('train', 1)], max: 5 epochs 2023-03-27 14:19:08,860 - mmdet - INFO - Checkpoints will be saved to /content/gdrive/MyDrive/htp_dir_swin by HardDiskBackend. --------------------------------------------------------------------------- KeyError Traceback (most recent call last) <ipython-input-35-c8cc0d536607> in <module> 4 mmcv.mkdir_or_exist(os.path.abspath(cfg.work_dir)) 5 # epochs는 config의 runner 파라미터로 지정됨. 기본 12회 ----> 6 train_detector(model, datasets, cfg, distributed=False, validate=True) 6 frames /usr/local/lib/python3.9/dist-packages/mmdet-2.28.2-py3.9.egg/mmdet/apis/train.py in train_detector(model, dataset, cfg, distributed, validate, timestamp, meta) 244 elif cfg.load_from: 245 runner.load_checkpoint(cfg.load_from) --> 246 runner.run(data_loaders, cfg.workflow) /usr/local/lib/python3.9/dist-packages/mmcv/runner/epoch_based_runner.py in run(self, data_loaders, workflow, max_epochs, **kwargs) 134 if mode == 'train' and self.epoch >= self._max_epochs: 135 break --> 136 epoch_runner(data_loaders[i], **kwargs) 137 138 time.sleep(1) # wait for some hooks like loggers to finish /usr/local/lib/python3.9/dist-packages/mmcv/runner/epoch_based_runner.py in train(self, data_loader, **kwargs) 47 self.call_hook('before_train_epoch') 48 time.sleep(2) # Prevent possible deadlock during epoch transition ---> 49 for i, data_batch in enumerate(self.data_loader): 50 self.data_batch = data_batch 51 self._inner_iter = i /usr/local/lib/python3.9/dist-packages/torch/utils/data/dataloader.py in __next__(self) 626 # TODO(https://github.com/pytorch/pytorch/issues/76750) 627 self._reset() # type: ignore[call-arg] --> 628 data = self._next_data() 629 self._num_yielded += 1 630 if self._dataset_kind == _DatasetKind.Iterable and \ /usr/local/lib/python3.9/dist-packages/torch/utils/data/dataloader.py in _next_data(self) 1331 else: 1332 del self._task_info[idx] -> 1333 return self._process_data(data) 1334 1335 def _try_put_index(self): /usr/local/lib/python3.9/dist-packages/torch/utils/data/dataloader.py in _process_data(self, data) 1357 self._try_put_index() 1358 if isinstance(data, ExceptionWrapper): -> 1359 data.reraise() 1360 return data 1361 /usr/local/lib/python3.9/dist-packages/torch/_utils.py in reraise(self) 541 # instantiate since we don't know how to 542 raise RuntimeError(msg) from None --> 543 raise exception 544 545 KeyError: Caught KeyError in DataLoader worker process 0. Original Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/torch/utils/data/_utils/worker.py", line 302, in _worker_loop data = fetcher.fetch(index) File "/usr/local/lib/python3.9/dist-packages/torch/utils/data/_utils/fetch.py", line 58, in fetch data = [self.dataset[idx] for idx in possibly_batched_index] File "/usr/local/lib/python3.9/dist-packages/torch/utils/data/_utils/fetch.py", line 58, in <listcomp> data = [self.dataset[idx] for idx in possibly_batched_index] File "/usr/local/lib/python3.9/dist-packages/mmdet-2.28.2-py3.9.egg/mmdet/datasets/custom.py", line 220, in __getitem__ data = self.prepare_train_img(idx) File "/usr/local/lib/python3.9/dist-packages/mmdet-2.28.2-py3.9.egg/mmdet/datasets/custom.py", line 243, in prepare_train_img return self.pipeline(results) File "/usr/local/lib/python3.9/dist-packages/mmdet-2.28.2-py3.9.egg/mmdet/datasets/pipelines/compose.py", line 41, in __call__ data = t(data) File "/usr/local/lib/python3.9/dist-packages/mmdet-2.28.2-py3.9.egg/mmdet/datasets/pipelines/loading.py", line 398, in __call__ results = self._load_masks(results) File "/usr/local/lib/python3.9/dist-packages/mmdet-2.28.2-py3.9.egg/mmdet/datasets/pipelines/loading.py", line 347, in _load_masks gt_masks = results['ann_info']['masks'] KeyError: 'masks'
강사님, 작년에 강의 듣다가 다시 듣게됐는데 그때 놓쳤던 것들이 다시 보이기 시작했어요. 뿌듯하게 입문 완료 했습니다!̆̈ .ᐟ 🎉🎉 그런데 앞으로는 어떻게 공부하면 좋을지 모르겠습니다.. 쌤의 심화 강의가 있다면 듣고싶었는데 자바스크립트는 기초밖에없는거 같아서요.. 🥲 이후의 공부방법이나 강의 등등 추천 가능하실까요??
루비 설치하고 chmod +x ./install 치고 sudo ./install auto를 누르면 이런 식으로 에러가 뜹니다... /usr/share/ruby3.2/logger/log_device.rb:83:in `exist?': no implicit conversion of Array into String (TypeError) if File.exist?(path) ^^^^ from /usr/share/ruby3.2/logger/log_device.rb:83:in `set_dev' from /usr/share/ruby3.2/logger/log_device.rb:18:in `initialize' from /usr/share/ruby3.2/logger.rb:587:in `new' from /usr/share/ruby3.2/logger.rb:587:in `initialize' from ./install:43:in `new' from ./install:43:in `<main>' 미치겟네요..ㅠㅠ 빠른 답변 부탁드려요
안녕하세요 선생님 나름 코드를 짜고 테스트케이스를 통과하여 기쁜 마음으로 채점을 해봤는데 "틀렸습니다!" 라고 나오는데 혹시 왜 틀렸는지 코드 한 번 봐주실 수 있나요?? http://boj.kr/faef0eba568e47b3b9ff7e9aaf361e69 (링킹 피드백 적용!!)
선생님 안녕하세요 URI와 URL의 차이가 궁금하여 질문드립니다. 강의를 보았지만 그 차이에 대해서 모르겠습니다. 그리고 예시로 들어주셨던 index.html에 대해서 일반적으로 웹 주소만 입력하면 저 html을 요청하는거라고 했을 때, index.html이 생략된 웹 주소는 URI인가요 URL인가요? 그리고 URI 구조에 대해서도 보여주셨는데, 거기에서 무엇이 빠지면 URL이 되는건가요? 솔직히 두 개념의 차이를 모르겠습니다.ㅜㅜ
자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
안녕하세요 선생님 7강 도서 페이지 들어갈 때 Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Sun Mar 26 19:37:03 KST 2023 There was an unexpected error (type=Not Found, status=404). 라고 오류가 뜨는데 주소도 문제 없고, . ____ _ /\\ / ___'_ __ ( _)_ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.7.7) 2023-03-26 19:34:53.892 INFO 19636 --- [ main] c.g.libraryapp.LibraryAppApplication : Starting LibraryAppApplication using Java 11.0.17 on DESKTOP-Q6HP16E with PID 19636 (C:\libraryapp\library-app\library-app\out\production\classes started by 임수빈 in C:\libraryapp\library-app) 2023-03-26 19:34:53.897 INFO 19636 --- [ main] c.g.libraryapp.LibraryAppApplication : No active profile set, falling back to 1 default profile: "default" 2023-03-26 19:34:55.153 INFO 19636 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2023-03-26 19:34:55.168 INFO 19636 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2023-03-26 19:34:55.168 INFO 19636 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.70] 2023-03-26 19:34:55.314 INFO 19636 --- [ main] o.a.c.c.C.[Tomcat].[ localhost ].[/] : Initializing Spring embedded WebApplicationContext 2023-03-26 19:34:55.315 INFO 19636 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1345 ms 2023-03-26 19:34:55.669 INFO 19636 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' 2023-03-26 19:34:55.680 INFO 19636 --- [ main] c.g.libraryapp.LibraryAppApplication : Started LibraryAppApplication in 2.299 seconds (JVM running for 2.84) 2023-03-26 19:35:05.878 INFO 19636 --- [nio-8080-exec-2] o.a.c.c.C.[Tomcat].[ localhost ].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2023-03-26 19:35:05.879 INFO 19636 --- [nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2023-03-26 19:35:05.880 INFO 19636 --- [nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms 파일 실행도 문제가 없는 것을 확인하였는데 오류 페이지 뜨는 이유가 있을까요?