Skip to content

生成vrd_roidb.npz时出现 'list' object has no attribute 'keys'问题 #18

Description

@CaiWenhui

我使用的tf1.3, python2.7出现问题
/home/vcl/vtranse/process/vrd_pred_process.py in ()
25 with open(file_path_use,'r') as f:
26 data=json.load(f)
---> 27 image_name = data.keys()
28 len_img = len(image_name)
29 t = 0

AttributeError: 'list' object has no attribute 'keys'

有遇到类似的问题吗

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions