-
Notifications
You must be signed in to change notification settings - Fork 190
ImageSegmentation Build Failure on Mac M1 #51
Comments
did anyone find resolution for this issue ? |
simple answer is add this to Podfile:
|
@darkThanBlack platform :ios, '12.0'target 'PTmodelTest' do post_install do |installer| did anyone find resolution |
@kenza-djeddiali Can you paste your Xcode Error info or ScreenShot for me? |
hi @darkThanBlack , thank you for your feedback I changed parameters yesterday but I have a new error [ https://www.devfaq.fr/question/xcode-12-construction-pour-ios-simulator-mais-liaison-dans-un-fichier-objet-construit-pour-ios-pour-l-39-architecture-arm64] ** // toto that I consulted: https://youtu.be/ca4RGvIY5cc, https://youtu.be/amTepUIR93k |
It all depends on the algorithm engineer or the paper. |
Hi @darkThanBlack, thank you for your feedback, it's a real headache, I'm back to error1 🤣. Actually it looks easy, convert ... but basically here is what happens, I exhausted all my cards lol, maybe switch to tensorflow lite... I couldn't run tensorflow model at the front on my M1 pro machine ! we'll see what I have to find! thank you @darkThanBlack |
@kenza-djeddiali Emm...Have you heard If not, I suggest you to give up using cocoaPods with PyTorch cause they didn't create |
@darkThanBlack hi, i'm going to see that, actually file a is in red, on the forums a solution is to delete it, but i got error 1 back. |
@darkThanBlack can you explain how your solutions works? |
Demo project uploaded, LINK |
I used the pods from @darkThanBlack 's helloworld app, (pytorch-lite 1.9.0) and built on a physical device using Xcode and it worked. |
I'm getting the same error on https://github.com/pytorch/ios-demo-app/tree/master/HelloWorld.
Chip: Apple M1 Pro
Is any LibTorch developers trying to fix this? |
Strangely if I install 'LibTorch-Lite' with 'OpenCV' the project runs on simulator too.
|
@steve-ham does this actually work? I tried it and it fixes one compile error but causes another. I looked closer at the |
@mlynch My above Podfile script doesn't work anymore somehow, however If I add below config on App Project Build Settings it works (not Pod Build Settings):
|
@steve-ham After following all the steps you said above, now I got this error. Can you suggest any solution? Thanks. Error: Target Integrity I am using pod 'LibTorch', '~>1.10.0' |
@trsa74 Maybe try following this post? https://khushwanttanwar.medium.com/xcode-12-compilation-errors-while-running-with-ios-14-simulators-5731c91326e9 |
This problem still persists. If you include arm64 in the excluded architectures, at the time of running the app, the assets or model files don't get copied and you get the LLDB error. Has anyone solved this for iOS simulator yet ? |
Hi, I met the compilation issue on Mac M1 as below
The environment information is as below:
PyTorch: 1.8.1
Output of
pod --version
: 1.10.1Cmake version: 3.11.3
I also tried to modify the Podfile from
pod 'LibTorch', '~>1.7.0'
topod 'LibTorch', '~>1.8.0'
, but the failure still exists.The text was updated successfully, but these errors were encountered: