efengx commited on
Commit
de5ad1a
·
1 Parent(s): d5b8eea

fix: update

Browse files
Files changed (2) hide show
  1. fengx_launch.ipynb +7 -7
  2. fengxai/SelfSupervised.py +11 -0
fengx_launch.ipynb CHANGED
@@ -33,21 +33,21 @@
33
  },
34
  {
35
  "cell_type": "code",
36
- "execution_count": 7,
37
  "metadata": {},
38
  "outputs": [
39
  {
40
  "name": "stdout",
41
  "output_type": "stream",
42
  "text": [
43
- "Enumerating objects: 7, done.\n",
44
- "Counting objects: 100% (7/7), done.\n",
45
  "Delta compression using up to 8 threads\n",
46
- "Compressing objects: 100% (4/4), done.\n",
47
- "Writing objects: 100% (4/4), 345 bytes | 345.00 KiB/s, done.\n",
48
- "Total 4 (delta 3), reused 0 (delta 0), pack-reused 0\n",
49
  "To https://huggingface.co/spaces/rjx/rjxai_image_identification\n",
50
- " 276ebff..4dcf678 main -> main\n"
51
  ]
52
  }
53
  ],
 
33
  },
34
  {
35
  "cell_type": "code",
36
+ "execution_count": 14,
37
  "metadata": {},
38
  "outputs": [
39
  {
40
  "name": "stdout",
41
  "output_type": "stream",
42
  "text": [
43
+ "Enumerating objects: 9, done.\n",
44
+ "Counting objects: 100% (9/9), done.\n",
45
  "Delta compression using up to 8 threads\n",
46
+ "Compressing objects: 100% (5/5), done.\n",
47
+ "Writing objects: 100% (5/5), 681 bytes | 681.00 KiB/s, done.\n",
48
+ "Total 5 (delta 4), reused 0 (delta 0), pack-reused 0\n",
49
  "To https://huggingface.co/spaces/rjx/rjxai_image_identification\n",
50
+ " 4dcf678..d5b8eea main -> main\n"
51
  ]
52
  }
53
  ],
fengxai/SelfSupervised.py CHANGED
@@ -74,6 +74,17 @@ class SelfSupervised:
74
  os.mkdir(fileList)
75
  cv2.imwrite(imageOutPutFile, imgAnnnotated)
76
  print("os cwd=", os.getcwd())
 
 
 
 
 
 
 
 
 
 
 
77
 
78
  return {
79
  "imageOutput": imageOutPutFile,
 
74
  os.mkdir(fileList)
75
  cv2.imwrite(imageOutPutFile, imgAnnnotated)
76
  print("os cwd=", os.getcwd())
77
+ for root, dirs, files in os.walk(os.getcwd()):
78
+ print("root=", root)
79
+ print("dirs=", dirs)
80
+ print("files=", files)
81
+
82
+ print("data=")
83
+ for root, dirs, files in os.walk("data/"):
84
+ print("root=", root)
85
+ print("dirs=", dirs)
86
+ print("files=", files)
87
+
88
 
89
  return {
90
  "imageOutput": imageOutPutFile,