Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Tao Sun committed Sep 6, 2022
1 parent 8b97375 commit c1026ba
Showing 1 changed file with 42 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@
"---"
]
},
{
"cell_type": "code",
"execution_count": 19,
"metadata": {},
"outputs": [],
"source": [
"import logging\n",
"logging.getLogger().setLevel(logging.INFO)"
]
},
{
"cell_type": "code",
"execution_count": 2,
Expand Down Expand Up @@ -559,7 +569,25 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 23,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:root:['/root/S3Downloads/visual_object_detection']\n"
]
}
],
"source": [
"x = !pwd\n",
"logging.info(x)"
]
},
{
"cell_type": "code",
"execution_count": 16,
"metadata": {},
"outputs": [
{
Expand All @@ -571,44 +599,42 @@
}
],
"source": [
"!pwd "
"!pwd"
]
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 25,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'/root/S3Downloads/visual_object_detection/neu_det'"
]
},
"execution_count": 14,
"metadata": {},
"output_type": "execute_result"
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:root:['README.md', 'neu_det', 'numerical.png', 'patches_116.jpeg', 'raw_neu_det', 'results', 'src', 'test_annotations.json', 'visual_object_detection.ipynb']\n"
]
}
],
"source": [
"!ls"
"x = !ls\n",
"logging.info(x)"
]
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 26,
"metadata": {},
"outputs": [
{
"name": "stdout",
"name": "stderr",
"output_type": "stream",
"text": [
"/root/S3Downloads/visual_object_detection/neu_det\n"
"INFO:root:/root/S3Downloads/visual_object_detection/neu_det\n"
]
}
],
"source": [
"print(DATA_PATH)"
"logging.info(DATA_PATH)"
]
},
{
Expand Down

0 comments on commit c1026ba

Please sign in to comment.