The error message suggests that there is an issue with importing the 'resnet' module from the 'keras_applications' package. This could be due to a few reasons:

  1. Package not installed: Make sure that the 'keras_applications' package is installed. You can install it using pip: pip install keras_applications.

  2. Incorrect package version: Check if you have the correct version of the package installed. Try updating the package to the latest version: pip install keras_applications --upgrade.

  3. Compatibility issue: It's possible that there is a compatibility issue between the versions of TensorFlow and keras_applications. Make sure that you have compatible versions installed.

  4. Path issue: Verify that the 'keras_applications' package is correctly installed in the Python environment you are using.

If none of the above solutions work, you may need to provide more information about your setup (versions of TensorFlow, keras_applications, etc.) to further diagnose the issue

from tensorflowpythonkeras import applications File CUsersThinkAppDataLocalProgramsPythonPython36libsite-packagestensorflow_corepythonkerasapplications__init__py line 64 in module from tensorflowp

原文地址: https://www.cveoy.top/t/topic/iynl 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录