Skip to content

rknn_base.py AttributeError: 'list' object has no attribute 'lower' #358

@shmy12

Description

@shmy12

Traceback (most recent call last):
File "/opt/pycharm-2023.2.1/plugins/python/helpers/pydev/pydevd.py", line 1500, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "/opt/pycharm-2023.2.1/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/home/shmy/RKNN_code/RKNN Toolkit转换模型/模型转换例子/convert-tflite-to-rknn.py", line 26, in
rknn.config(quantized_dtype='asymmetric_quantized-8',
File "/home/shmy/anaconda3/envs/RKNN3588/lib/python3.8/site-packages/rknn/api/rknn.py", line 120, in config
return self.rknn_base.config(args)
File "rknn/api/rknn_base.py", line 935, in rknn.api.rknn_base.RKNNBase.config
AttributeError: 'list' object has no attribute 'lower'

What should I do if I always prompt this when running a file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions