Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- error
- Anaconda
- procedure
- Map-reduce
- nodejs
- relaxation time
- 평가지표
- pytorch
- Cost Function
- NRMSE
- x-ray
- git
- object detection
- Emoji
- FSL
- kernel
- https
- Homogeneous Coordinates
- MySQL
- ml
- CT
- EC2
- pm2
- MRI
- AWS
- Dual energy X-ray
- coursera
- ubuntu
- 동차좌표계
- ssl
Archives
- Today
- Total
Pay it Forward
[Python] print '...' (생략) 없애기, 값 모두 출력하기 본문
728x90
Python에서 image등을 load하여 값을 확인하고자 print할 때,
너무 많은 value를 띄우면 부하가 심하므로 아래와 같이 '...'로 값을 생략하여 보여주는 것을 확인할 수 있다.

이 때, 아래와 같은 코드를 통하여 출력값을 전부 print하도록 설정할 수 있다.
np.set_printoptions(threshold=np.inf, linewidth=np.inf)

728x90
'Code Snippet' 카테고리의 다른 글
[Python] raw file 열기 및 plot하기 (0) | 2022.07.15 |
---|---|
[Python] figure plot 관련 snippets (figure 여러개 띄우기, grid 없애기) (0) | 2021.08.13 |
[C++] Sort의 Sorting Function 만들기 (0) | 2020.01.17 |