일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
- Machine Learning
- rnn구현
- 머신러닝
- inductive learning
- 서버 os
- 서버로 파일 복사
- inductive transductive
- inductive
- 크롤링 주의사항
- 푸리에변환이란
- rnn
- fourier 변환
- virtual env
- 크롤링할때 중요한것
- transductive
- continous deployment
- Fourier
- dlib 설치
- 푸리에
- python2 python3
- 로컬에서 서버
- transductive learning
- docker commands
- 기초머신러닝
- python버전 동시 사용
- fourier transform
- 푸리에 변환
- 피티이
- 머신러닝 딥러닝
- python패키지설치
- Today
- Total
목록ERROR_SOLUTION (5)
우당탕탕 도비의 코딩로그

우선 python version을 확인하기 위해 terminal에 python -V 을 입력하면 설치 되어있는 python의 version이 아래와 같이 출력된다. python2와 python3가 동시에 설치 되어있는 경우 python2의 실행 우선순위가 높으므로 위와 같이 version check를 하는 경우 계속해서 "python 2.x"가 출력된다. 이런 경우에 python3를 사용하고 싶으면 ./bash_profile에 alias를 추가하여 주면 된다. terminal 창을 키고 vi .bash_profile .bash_profile 파일에 들어간다. .bash_profile에서 insert키인 i를 누른 후 위와 같이 alias python="python3" 를 입력하고 esc + :wq를 입력..
Copy files from local to a remote server local에서 reomte server로 file 을 복사할 때 쓰는 command scp /[path_to_file]/[file_name] [username]@[hostname]:/[path_to_destination] * port 를 지정해주어야 할때는 scp -P [port_number] /[path_to_file]/[file_name] [username]@[hostname]:/[path_to_destination]
uname -ra
더보기 nn.CosineEmbeddingLoss(x_1, x_2, y) 를 불러올때 batch_size가 1인 경우에는 각각 x_1, x_2, y tensor들의 shape 을 정의해주니 해결되었다. 나의 경우에는 tensor의 shape이 [1,64] 이어서 x_1.reshape(1,64) x_2.reshape(1,64) y.reshape(1,64) 로 각각 정의해주었다.
* "ssh_exchange_identification: Connection closed by remote host" 와는 다른 문제 * mac terminal 에서 server에 jupyter notebook을 ssh로 원격 연결하여 사용하는 중에 4분쯤 지나니 갑자기 "connection closed by remote host" 라는 문구가 뜨면서 server와의 연결이 끊어졌다. 이럴 경우 $HOME/.ssh 경로로 들어가서 config 파일에 TCPKeepAlive yes ServerAliveInterval 30 를 insert 하고 저장하면 된다고 되어있었지만 해결되지 않았다. [SOLUTION] 나의 경우에는 local에서 server에 연결을 할때 ssh -o ServerAliveInterv..