質問編集履歴
2
内容の修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
定義済みの変数でなぜNameErrorがおこる?
|
test
CHANGED
@@ -244,6 +244,8 @@
|
|
244
244
|
|
245
245
|
|
246
246
|
|
247
|
+
またどのように解決するのでしょう
|
248
|
+
|
247
249
|
#環境
|
248
250
|
|
249
251
|
[TelloPy](https://github.com/hanyazou/TelloPy/tree/develop-0.7.0/tests):0.6.0
|
@@ -255,67 +257,3 @@
|
|
255
257
|
opencv-python:3.1.0.0
|
256
258
|
|
257
259
|
ssd:1.0.0
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
#他のエラー
|
266
|
-
|
267
|
-
実行するとその時々で他にも異なるエラーが出ることがあり、それらについてもどうしたらよいでしょうか
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
```python
|
272
|
-
|
273
|
-
Traceback (most recent call last):
|
274
|
-
|
275
|
-
File "C:\Users\one\Anaconda3\envs\py3.5\lib\site-packages\tensorflow\python\client\session.py", line 582, in __del__
|
276
|
-
|
277
|
-
UnboundLocalError: local variable 'status' referenced before assignment
|
278
|
-
|
279
|
-
```
|
280
|
-
|
281
|
-
```Python
|
282
|
-
|
283
|
-
Traceback (most recent call last):
|
284
|
-
|
285
|
-
File "C:\Users\one\Anaconda3\envs\py3.5\lib\site-packages\tellopy\examples\video_effect.py", line 92, in main
|
286
|
-
|
287
|
-
image = getSSDImage(imgpil)
|
288
|
-
|
289
|
-
File "C:\Users\one\Anaconda3\envs\py3.5\lib\site-packages\tellopy\examples\video_effect.py", line 65, in getSSDImage
|
290
|
-
|
291
|
-
score = top_conf[i]
|
292
|
-
|
293
|
-
IndexError: index 0 is out of bounds for axis 0 with size 0
|
294
|
-
|
295
|
-
index 0 is out of bounds for axis 0 with size 0
|
296
|
-
|
297
|
-
```
|
298
|
-
|
299
|
-
```Python
|
300
|
-
|
301
|
-
Traceback (most recent call last):
|
302
|
-
|
303
|
-
File "C:\Users\one\Anaconda3\envs\py3.5\lib\site-packages\tellopy\examples\video_effect.py", line 85, in main
|
304
|
-
|
305
|
-
container = av.open(drone.get_video_stream())
|
306
|
-
|
307
|
-
File "av/container/core.pyx", line 249, in av.container.core.open
|
308
|
-
|
309
|
-
File "av/container/core.pyx", line 210, in av.container.core.Container.__cinit__
|
310
|
-
|
311
|
-
File "av/container/core.pyx", line 111, in av.container.core.ContainerProxy.__init__
|
312
|
-
|
313
|
-
File "av/container/core.pyx", line 182, in av.container.core.ContainerProxy.err_check
|
314
|
-
|
315
|
-
File "av/utils.pyx", line 103, in av.utils.err_check
|
316
|
-
|
317
|
-
av.AVError: [Errno 1094995529] Invalid data found when processing input: 'VideoStream'
|
318
|
-
|
319
|
-
[Errno 1094995529] Invalid data found when processing input: 'VideoStream'
|
320
|
-
|
321
|
-
```
|
1
タイトルの変更
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
TelloPyを実行してNameErrorなどが出て困っています
|
test
CHANGED
@@ -258,6 +258,10 @@
|
|
258
258
|
|
259
259
|
|
260
260
|
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
|
261
265
|
#他のエラー
|
262
266
|
|
263
267
|
実行するとその時々で他にも異なるエラーが出ることがあり、それらについてもどうしたらよいでしょうか
|