![]() 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. Thread 6 name: Dispatch queue: -qosĠ libsystem_kernel.dylib 0x1fe908200 _pthread_kill + 8ġ libsystem_pthread.dylib 0x20ed6a1ac pthread_kill + 268Ģ libsystem_c.dylib 0x1c933dc8c abort + 180ģ libc++abi.dylib 0x20ecaab8c abort_message + 132Ĥ libc++abi.dylib 0x20ec9aa80 demangling_terminate_handler() + 336ĥ libobjc.A.dylib 0x1bb03dd3c _objc_terminate() + 144Ħ libc++abi.dylib 0x20eca9f28 std::_terminate(void (*)()) + 20ħ libc++abi.dylib 0x20eca9ec4 std::terminate() + 56Ĩ libdispatch.dylib 0x1c92d9ff0 _dispatch_client_callout + 40ĩ libdispatch.dylib 0x1c92dd0c8 _dispatch_queue_override_invoke + 788ġ0 libdispatch.dylib 0x1c92eba6c _dispatch_root_queue_drain + 396ġ1 libdispatch.dylib 0x1c92ec284 _dispatch_worker_thread2 + 164ġ2 libsystem_pthread.dylib 0x20ed63dbc _pthread_wqthread + 228ġ3 libsystem_pthread.dylib 0x20ed63b98 start_wqthread + 8įirst 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 |