Author Topic: NotImplementedError  (Read 14963 times)

felicia

  • Newbie
  • *
  • Posts: 1
    • View Profile
NotImplementedError
« on: November 07, 2021, 01:22:02 AM »
I got the error message when running the examples..
NotImplementedError: Cannot convert a symbolic Tensor (random_rotation_1/rotation_matrix/strided_slice:0) to a numpy array. This error may indicate that you're trying to pass a Tensor to a NumPy call, which is not supported

It occurs after
Model found locally: tmp/softstory_ResNet50_V0.1.h5
Results written in file tmp/softstory_preds.csv
A default occupancy model will be used: occupancy_ResNet50_V0.2.
Model found locally: tmp/occupancy_ResNet50_V0.2.h5
Results written in file tmp/occupancy_preds.csv
A default roof type model will be used: rooftype_ResNet50_V0.2.

Does anyone know how to solve this problem?

fmk

  • Administrator
  • Full Member
  • *****
  • Posts: 233
    • View Profile
Re: NotImplementedError
« Reply #1 on: November 09, 2021, 12:37:07 AM »
Let us start with identifying the example are you trying to run?
Can you post the link to the webpage, and if more than 1 example is posted there, can you identify the specific example.

churchhealthy

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • drift hunters
Re: NotImplementedError
« Reply #2 on: September 14, 2023, 07:30:38 AM »
The error message you're seeing suggests that you're attempting to make a NumPy call while passing a Tensor to the function.