Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_proto
Commits
5490b349
Commit
5490b349
authored
Aug 25, 2022
by
BO ZHANG
🏀
Browse files
added verbose to read_test_image
parent
32db73b8
Pipeline
#66
passed with stages
in 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_proto/flip_image.py
View file @
5490b349
...
...
@@ -32,4 +32,5 @@ def flip_image(img: np.ndarray) -> np.ndarray:
def
read_test_image
():
""" read test image """
fp_img
=
PACKAGE_PATH
+
"/data/test_image.txt"
print
(
"reading file {} ..."
.
format
(
fp_img
))
return
np
.
loadtxt
(
fp_img
,
dtype
=
int
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment