Skip To Main Content
Support Knowledge Base

Unable to Convert CycleGAN Model into Intermediate Representation (IR)

Content Type: Troubleshooting   |   Article ID: 000092476   |   Last Reviewed: 06/21/2023

Description

  • Converted TensorFlow* 1 CycleGAN non-frozen model.
    mo --input_meta_graph cyclegan.model-2002.meta
  • Received error:[ FRAMEWORK ERROR ] Cannot load input model: Attempting to use uninitialized value generatorA2B/g_r6_bn2/scale/Adam_1 [[{{node _retval_generatorA2B/g_r6_bn2/scale/Adam_1_0_218}}]]

Resolution

The model conversion might have failed due to uninitialized variables.  

Possible workarounds are as below: 

  • Initialize all variables and reload the weights.  

or

Starting from 2021.3, TensorFlow* 1 is supported with limitations, refer to the Release Notes

Related Products

This article applies to 1 products.