![]() ![]() WARNING:tensorflow:AutoGraph could not transform and will run it as-is.Ĭause: Unable to locate the source code of. Normalize_img, num_parallel_calls=tf.)ĭs_train = ds_train.shuffle(ds_examples)ĭs_train = ds_train.prefetch(tf.)ĭs_test = ds_test.prefetch(tf.) Return tf.cast(image, tf.float32) / 255., label (ds_train, ds_test), ds_info = tfds.load( Print("TensorFlow version:", tf._version_) I get Num GPUs Available: 1 but when I try to run the rest of the sample code Print("Num GPUs Available: ", len(tf._physical_devices('GPU'))) I managed to get tensorflow-macos installed in my environment as well as tensorflow-metal but when I try to run some sample code in Juyter, I'm getting an error that I do not understand. ![]() This article as well as digging around about getting Tensorflow working on M1 but to no avail. I have the 2021 14" 16GB Macbook Pro with the M1 Pro Chip and I am running Ventura 13.1. ![]() Anyways, I've been trying to get into ML and I wanted to follow a course on it but it requires Tensorflow and I've been trying to get that working on my system. First post so I'm sorry for making any newbie mistakes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |