본문 바로가기

728x90

study/시행착오

(5)
[Node.js] npm run start 시 EACCES 오류 해결 참고: [Node.js] Error: EACCES: permission denied 문제상황 백엔드 서버가 돌아가지 않아서 디버깅을 해보려고 했는데 실행이 안된다.. ls -al 명령어로 확인해보니 dist 폴더만 root 계정에 권한이 들어가있다..! npm run start를 할 때 sudo를 포함하면 root 권한으로 실행이 된다. 실제 유저가 어떤 동작을 하려고 할 경우 권한이 없음 해결! 권한이 없었던 dist 폴더를 sudo rm -f dist 명령으로 지운 후 sudo를 포함하지 않고 백그라운드로 서버 재실행 netstat -ntlp | grep 포트번호 명령으로 백그라운드 실행 확인
bazel 설치 - Installing Bazel on Windows(bazel version) docs.bazel.build/versions/master/install-windows.html#installing-bazel-on-windows Installing Bazel on Windows Installing Bazel on Windows This page describes the requirements and steps to install Bazel on Windows. It also includes troubleshooting and other ways to install Bazel, such as using Chocolatey or Scoop. Installing Bazel This section covers the prerequisi docs.bazel.build 위의 링크 순서대로 baz..
jetson nano - balenaEtcher 오류 developer.nvidia.com/embedded/learn/get-started-jetson-nano-devkit#write Getting Started With Jetson Nano Developer Kit The NVIDIA® Jetson Nano™ Developer Kit is a small AI computer for makers, learners, and developers. After following along with this brief guide, you’ll be ready to start building practical AI applications, cool AI robots, and more. developer.nvidia.com Jetson Nano 개발자 키트(4GB) 시..
Q. softmax function을 통과시킨 후 one-hot encoding을 하는 이유 ? 여기에 답은 없습니다 ㅠㅅㅠ.. Multi-class classification에서는 binary classification을 사용하여 해결할 수 있다. 예를 들어 A, B, C 로 분류할 때 A or not / B or not / C or not 3개의 Linear function 로 분류 가능하다. Linear Regression 을 사용하여 Binary Classification을 구할 때 H(x) = Wx+b 에서 함수 값을 0 1.0, c->0.1이 나온다면 a로 분류해주어야 한다. 하지만 sigmoid를 태우면 a와 b 모두 1이 나오게 되어서 분류가 실패하게 된다. 따라서 sigmoid 대신 Softmax function을 사용하게 된다. softmax function은 모든 값이 0~1사이..
[unity] Button Onclick() No Function 문제 unity UI Button에서 On Click()에 자꾸 No Function이 떠서 왜 이러지 ??????? 했더니... 검색했더니 자꾸 빈 오브젝트를 만들어서 거기 script를 적용하고 다시 드래그해보라길래 무슨말인가 했는데 처음부터 오브젝트를 드래그를 안했다... 그냥 내가 드래그를 잘못했던 거 .........ㅎ Object를 드래그 해야하는데 어쩐지 이상했어... 내 실수라 기록하는게 민망하다 .. 낄낄

반응형