Setting, Error/Linux 7

InternalError: Graph execution error: Detected at node 'StatefulPartitionedCall 8' defined at (most recent call last):

* Tensorflow 2.12 문제 모델 생성, 컴파일 후 fit 할 때 해당 에러가 발생했다. 1. Tensorflow 버전 다운그레이드 하기 $ pip3 install tensorflow==2.11.0 → 이렇게 하니까 ImportError: cannot import name 'range_op' from 'tensorflow.python.data.ops' 이런 에러 다시 발생 ▶ 결론 : 에러 해결 2. Tensorflow-gpu 버전으로 다시 깔기 $ pip3 install tensorflow-gpu==2.11.0

파일 전송 sftp 사용법

0. 접속 ssh 사용할 때와 비슷하다고 생각하면 된다. $ sftp [계정명]@[ip주소] * 포트를 따로 지정해야할 때는 $ sftp -P [포트번호] [계정명]@[ip 주소] ex) sftp -P 22 root@127.0.0.1 * 모든 파일의 목록을 확인하는 ls 명령어나, cd같은 다른 명령어를 사용할 수 있다. * 다른 명령어와 같이 사용하여 효과적으로 sftp를 사용하면 된다. 1. 원격 서버에서 내 로컬에 가져오고 싶을 때 1-1) 파일 가져오기 $ get [파일 이름 or 파일 경로] ex) $ get Untitled.ipynb ex) $ get /home/Docker/project1/Untitled.ipynb 1-2) 폴더 가져오기 $ get -r [폴더 이름 or 폴더 경로] ex) ..

ERROR: Could not find a version that satisfies the requirement jupyter-lab (from versions: none)ERROR: No matching distribution found for [module]

※ 해결법 ERROR: Could not find a version that satisfies the requirement jupyter-lab (from versions: none) ERROR: No matching distribution found for jupyter-lab Arguments: (UpgradePrompt(old='22.1.2', new='22.2.2'),) 이런 식으로 어떻게 해결해야 하는지 말해준다. prompt를 22.2.2 버전으로 업그레이드 하라고 하니, 업그레이드 해주면 된다. $ pip3 install --upgrade pip

Linux 파일 압축 / 압축 해제 명령어

1. (.gz) 파일 $ gzip -d [파일 이름].gz -d 옵션을 붙이면 원래 존재하던 .gz파일을 없애고, 압축해체한 파일로 대체된다. 2. (.tar.gz) 파일 $ tar zvfx [파일 이름].tar.gz zvfx 옵션을 붙이면 압축 해제를 현재 디렉토리에 할 수 있다. 3. (.tar) 파일 - 압축해제 $ tar vfx [파일 이름].tar - 압축 $ tar -cvf [파일 이름].tar 4. (.zip) 파일 - (파일) 압축해제 $ unzip [파일 이름].zip + 비밀번호가 걸려있는 경우 $ unzip -P [비밀번호] [파일이름].zip - (파일) 압축 $ zip [파일 이름].zip - (폴더) 압축 $ zip -r [폴더 이름].zip 폴더이름/ (뒤에 / slash 꼭 ..