본문 바로가기

CS/삽질로그27

[kubeflow, kubernetes] 에러 파드 삭제하는 방법 (kubeflow delete error pod) 아래 명령어를 통해 에러 파드를 모두 삭제 가능하다. 이를 응용하여 Error -> Completed 또는 Running으로 변경하여 다른 상태의 파드도 삭제 가능함. # default namespace kubectl get pods | grep Error | awk '{ print $1 }' | xargs kubectl delete pod # specific namespace kubectl get pods -n | grep Error | awk '{ print $1 }' | xargs kubectl delete pod -n # all namespace kubectl get pods -A | grep Error | awk '{ print $1 }' | xargs kubectl delete pod -A 2022. 10. 28.
[디버깅] tensorflow assertion failed: [predictions must be >= 0] 에러 해결 딥러닝 모델 학습을 시도하였는데, 다음과 같은 assertion failed이 발생함. 에러메시지는 아래와 같음 Epoch 1/20 Traceback (most recent call last): File "lifelog_modeling.py", line 152, in main() File "lifelog_modeling.py", line 129, in main history = model.fit( File "/home/***/anaconda3/envs/wsi-py3.8/lib/python3.8/site-packages/tensorflow/python/keras/engine/training.py", line 108, in _method_wrapper return method(self, *args, **kw.. 2022. 10. 7.
[Python] pyvips 모듈 임포트 오류 (OSError, ModuleNotFoundError) pyvips 라이브러리 사용 시 아래와 같은 오류를 마주할 수 있다. --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) ~/anaconda3/envs/[ENV-NAME]/lib/python3.8/site-packages/pyvips/__init__.py in 18 try: ---> 19 import _libvips 20 ModuleNotFoundError: No module named '_libvips' During handling of the above exception, another exception occurred: .. 2022. 8. 22.