Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Latest pyyaml expecting class but getting function #840

Open
@squeakus

Description

Hi,
I am not sure if the issue is with you or pyyaml but I just completed a clean build and get the following error when running infer_simple.py example with pyyaml version 5.1

yaml.constructor.ConstructorError: while constructing a Python instance expected a class, but found <class 'builtin_function_or_method'> in "<unicode string>", line 3, column 20: BBOX_XFORM_CLIP: !!python/object/apply:numpy.core ...

I rolled the version back to 4.2 and it works fine:
pip install pyyaml==4.2b2

System information

  • Operating system: 18.04
  • Compiler version: 3.6
  • CUDA version: 10
  • cuDNN version: 9
  • NVIDIA driver version: 415
  • GPU models (for all devices if they are not all the same): 1080ti
  • PYTHONPATH environment variable: NA
  • python --version output: 3.6.7
  • Anything else that seems relevant: ?

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