Row 5981

Row ID: 5981 | Dataset Entry | Axioma AXP Content Repository

Content Data

This page contains data entry 5981 from the Axioma AXP content repository. The structured data below represents the complete record for this entry.

I'm trying to run a project that uses tensorflow and keras among other things. I used :

from tensorflow.keras.models import load_model

from tensorflow.keras.preprocessing.image import img_to_array

Neither of these work and upon inspection I found that load_model is defined wayyy deep inside a file called saving_api, the path for which was /keras/src/saving/saving_api.py

My question is why has this changed or am I missing something because I looked for a keras folder in tensorflow but there isn't one. There's a python folder inside the tensorflow folder inside which there's a keras folder but even there I didn't find a models folder. Is there a guide for the new structure for importing? Help would be greatly appreciated and if anything I explained was unclear please let me know and I can elaborate further.

FieldValue
text I'm trying to run a project that uses tensorflow and keras among other things. I used : from tensorflow.keras.models import load_model from tensorflow.keras.preprocessing.image import img_to_array Neither of these work and upon inspection I found that load_model is defined wayyy deep inside a file called saving_api, the path for which was /keras/src/saving/saving_api.py My question is why has this changed or am I missing something because I looked for a keras folder in tensorflow but there i…
label r/tensorflow
dataType post
communityName r/tensorflow
datetime 2024-05-06
username_encoded Z0FBQUFBQm5LakwyYWZFY0dCb2UySVZyMzdqejRKM2VHeUFBd29NMVJvQnQtZWdQa0hxM0I4Wi1HRDR5NWxfZWhHRVdNck93SjV4YjJ2S0VXR2wxcFNUMU5WTFJGSnZSSVE9PQ==
url_encoded Z0FBQUFBQm5Lak9HdFNSY3I5S3NLS2ZDTFNIYXVaM3VRczQtbmJ4a3d1VjhvUndEeFJiTjFlWFRja0N1cG9NWC1TbElGa0ZnTXhBNUZPN2NTWEZDNzJYZU5RakdaSHNxbXFteVhwX2p3bGx6QUVaeDVxdXJtaXJ0VTJRVEQzLUdJV09IamVDRnZnZTN3Z0g4czRlT0FYcDJPeTJ5YkpfNEdZQmQwM2pHZlpoMWE3ckxaNWVUZ0djPQ==

Raw Record

{
  "text": "I'm trying to run a project that uses tensorflow and keras among other things. I used :\n\nfrom tensorflow.keras.models import load_model\n\nfrom tensorflow.keras.preprocessing.image import img_to_array\n\nNeither of these work and upon inspection I found that load_model is defined wayyy deep inside a file called saving_api, the path for which was /keras/src/saving/saving_api.py\n\nMy question is why has this changed or am I missing something because I looked for a keras folder in tensorflow but there isn't one. There's a python folder inside the tensorflow folder inside which there's a keras folder but even there I didn't find a models folder. Is there a guide for the new structure for importing? Help would be greatly appreciated and if anything I explained was unclear please let me know and I can elaborate further. \n",
  "label": "r/tensorflow",
  "dataType": "post",
  "communityName": "r/tensorflow",
  "datetime": "2024-05-06",
  "username_encoded": "Z0FBQUFBQm5LakwyYWZFY0dCb2UySVZyMzdqejRKM2VHeUFBd29NMVJvQnQtZWdQa0hxM0I4Wi1HRDR5NWxfZWhHRVdNck93SjV4YjJ2S0VXR2wxcFNUMU5WTFJGSnZSSVE9PQ==",
  "url_encoded": "Z0FBQUFBQm5Lak9HdFNSY3I5S3NLS2ZDTFNIYXVaM3VRczQtbmJ4a3d1VjhvUndEeFJiTjFlWFRja0N1cG9NWC1TbElGa0ZnTXhBNUZPN2NTWEZDNzJYZU5RakdaSHNxbXFteVhwX2p3bGx6QUVaeDVxdXJtaXJ0VTJRVEQzLUdJV09IamVDRnZnZTN3Z0g4czRlT0FYcDJPeTJ5YkpfNEdZQmQwM2pHZlpoMWE3ckxaNWVUZ0djPQ=="
}

Entry Information