gwding / draw_convnet

2.64k stars 513 forks source link

TypeError: 'map' object is not subscriptable #1

Closed wuyong666666 closed 7 years ago

wuyong666666 commented 8 years ago

runfile('S:/draw_convnet-master/draw_convnet.py', wdir='S:/draw_convnet-master') Traceback (most recent call last):

File "", line 1, in runfile('S:/draw_convnet-master/draw_convnet.py', wdir='S:/draw_convnet-master')

File "C:\Anaconda3\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 714, in runfile execfile(filename, namespace)

File "C:\Anaconda3\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 89, in execfile exec(compile(f.read(), filename, 'exec'), namespace)

File "S:/draw_convnet-master/draw_convnet.py", line 128, in num=num_show_list[ind],

TypeError: 'map' object is not subscriptable

I use python 3.5.2

gwding commented 7 years ago

This is fixed in commit 77976218d6c9d7f8ed5b09c5fffb3f0610fd5e42 I tested with python 3.4.3 Let me know if it does not work.