Open wmorgue opened 2 years ago
I used an M1 MacBook to write these examples. I will get access to an Intel MacBook and reproduce this problem. Thanks for reporting it.
UPDATE: with updates to CoreML and CreateML, I can no longer use the Apple provided Struct MLDataTable, even adding the new argument for parsing options: https://developer.apple.com/documentation/createml/mldatatable
Apple's new example for training tabular data is a link to an Xcode PlayGround project that does not have any source files in it.
If I can't get this example working with the current Xcode and CoreML libraries, then I will remove this chapter from the book.
I added a warning to the Book that temporarily this example does not work. I hope that the next CreateML library update fixes this. I found some else mentioning this problem also.
Hello Mark.
On page 29 of your book I could not build the Package of the current repository.
"wisconsin.mlmodel"
?swift build
:This one:
ld: symbol(s) not found for architecture x86_64
.I assume that the problem in building the package is in the architecture of the package itself. Did you build this package on a machine with an M1 CPU? I assume the package is built for your current architecture. My macbook is running on an old Intel CPU. I tried to pass the
swift build --arch x86_64
flag to the compiler, but it didn't work. No idea yet how to build the package and continue reading the book.