apple / tensorflow_macos

TensorFlow for macOS 11.0+ accelerated using Apple's ML Compute framework.
Other
3.67k stars 309 forks source link

IDE crashed while running code to make prediction #102

Open hawkiyc opened 3 years ago

hawkiyc commented 3 years ago

Dear Developers,

I would like to report a bug in the release v0.1alpha1.

I have a 16" MacBook Pro with AMD Radeon Pro 5500M and 16GB RAM, and I just installed v0.1alpha1 this afternoon. Then I tested Tensorflow with cifar10 and it indeed running TensorFlow with GPU shown as the screenshot in the following google drive link.

https://drive.google.com/drive/folders/1dHhn5Qfs_2V8R1FfzTWWfmFyH4C0QPxG?usp=sharing

However, when I tried to make the prediction and confusion matrix, both spyder and jupyter notebook stuck right after I executed the following code.

Y_pred = model.predict(X_test)

All the code is fine in google colab with TensorFlow 2.4, besides both IDE stuck at the same syntax. So, it looks like the problem results from v0.1alpha1. Could you please help me to solve this problem?

I appreciated and looking forward to your kind assistance.

Sincerely,

hawkiyc

anna-tikhonova commented 3 years ago

Thank you very much for reporting this issue. Could you please provide a reproducible test case for us to run locally and investigate?

hawkiyc commented 3 years ago

Thank you very much for reporting this issue. Could you please provide a reproducible test case for us to run locally and investigate?

Dear @anna-tikhonova ,

I have updated to version 0.1-alpha2 in these days, however, #102 and #105 still happen.

Nevertheless, I have attached .yml and test files in following google drive links, please kindly test them.

https://drive.google.com/drive/folders/1AOkNANE2ma0LXC4B3RoWvEOwayqpk9Kd?usp=sharing

Please don't hesitate to ask further informations if you need them.

Sincerely,

hawkiyc