Spaces:
Runtime error
Runtime error
mingyang91
commited on
remove cv2
Browse files- .idea/workspace.xml +13 -5
- model.py +0 -1
.idea/workspace.xml
CHANGED
@@ -4,10 +4,9 @@
|
|
4 |
<option name="autoReloadType" value="SELECTIVE" />
|
5 |
</component>
|
6 |
<component name="ChangeListManager">
|
7 |
-
<list default="true" id="d7806539-b6d6-42e7-bb45-1565f5d54891" name="Changes" comment="
|
8 |
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
9 |
<change beforePath="$PROJECT_DIR$/model.py" beforeDir="false" afterPath="$PROJECT_DIR$/model.py" afterDir="false" />
|
10 |
-
<change beforePath="$PROJECT_DIR$/requirements.txt" beforeDir="false" afterPath="$PROJECT_DIR$/requirements.txt" afterDir="false" />
|
11 |
</list>
|
12 |
<option name="SHOW_DIALOG" value="false" />
|
13 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
@@ -119,7 +118,7 @@
|
|
119 |
<option name="presentableId" value="Default" />
|
120 |
<updated>1702301546100</updated>
|
121 |
<workItem from="1702301554378" duration="4025000" />
|
122 |
-
<workItem from="1702450051021" duration="
|
123 |
</task>
|
124 |
<task id="LOCAL-00001" summary="init commit">
|
125 |
<option name="closed" value="true" />
|
@@ -137,7 +136,15 @@
|
|
137 |
<option name="project" value="LOCAL" />
|
138 |
<updated>1702451179622</updated>
|
139 |
</task>
|
140 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
<servers />
|
142 |
</component>
|
143 |
<component name="TypeScriptGeneratedFilesManager">
|
@@ -146,7 +153,8 @@
|
|
146 |
<component name="VcsManagerConfiguration">
|
147 |
<MESSAGE value="init commit" />
|
148 |
<MESSAGE value="fix build" />
|
149 |
-
<
|
|
|
150 |
</component>
|
151 |
<component name="com.intellij.coverage.CoverageDataManagerImpl">
|
152 |
<SUITE FILE_PATH="coverage/detector$demo.coverage" NAME="demo Coverage Results" MODIFIED="1702302380580" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
|
|
|
4 |
<option name="autoReloadType" value="SELECTIVE" />
|
5 |
</component>
|
6 |
<component name="ChangeListManager">
|
7 |
+
<list default="true" id="d7806539-b6d6-42e7-bb45-1565f5d54891" name="Changes" comment="remove cv2">
|
8 |
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
9 |
<change beforePath="$PROJECT_DIR$/model.py" beforeDir="false" afterPath="$PROJECT_DIR$/model.py" afterDir="false" />
|
|
|
10 |
</list>
|
11 |
<option name="SHOW_DIALOG" value="false" />
|
12 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
|
118 |
<option name="presentableId" value="Default" />
|
119 |
<updated>1702301546100</updated>
|
120 |
<workItem from="1702301554378" duration="4025000" />
|
121 |
+
<workItem from="1702450051021" duration="2396000" />
|
122 |
</task>
|
123 |
<task id="LOCAL-00001" summary="init commit">
|
124 |
<option name="closed" value="true" />
|
|
|
136 |
<option name="project" value="LOCAL" />
|
137 |
<updated>1702451179622</updated>
|
138 |
</task>
|
139 |
+
<task id="LOCAL-00003" summary="remove cv2">
|
140 |
+
<option name="closed" value="true" />
|
141 |
+
<created>1702452279580</created>
|
142 |
+
<option name="number" value="00003" />
|
143 |
+
<option name="presentableId" value="LOCAL-00003" />
|
144 |
+
<option name="project" value="LOCAL" />
|
145 |
+
<updated>1702452279580</updated>
|
146 |
+
</task>
|
147 |
+
<option name="localTasksCounter" value="4" />
|
148 |
<servers />
|
149 |
</component>
|
150 |
<component name="TypeScriptGeneratedFilesManager">
|
|
|
153 |
<component name="VcsManagerConfiguration">
|
154 |
<MESSAGE value="init commit" />
|
155 |
<MESSAGE value="fix build" />
|
156 |
+
<MESSAGE value="remove cv2" />
|
157 |
+
<option name="LAST_COMMIT_MESSAGE" value="remove cv2" />
|
158 |
</component>
|
159 |
<component name="com.intellij.coverage.CoverageDataManagerImpl">
|
160 |
<SUITE FILE_PATH="coverage/detector$demo.coverage" NAME="demo Coverage Results" MODIFIED="1702302380580" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
|
model.py
CHANGED
@@ -2,7 +2,6 @@ import torch
|
|
2 |
import random
|
3 |
from PIL import ImageDraw
|
4 |
import torchvision.transforms as T
|
5 |
-
from PIL.ImageFont import ImageFont, truetype
|
6 |
|
7 |
# COCO Classes
|
8 |
CLASSES = [
|
|
|
2 |
import random
|
3 |
from PIL import ImageDraw
|
4 |
import torchvision.transforms as T
|
|
|
5 |
|
6 |
# COCO Classes
|
7 |
CLASSES = [
|