Open GoogleCodeExporter opened 8 years ago
You need to make sure you have the training dataset that accompanies the
HelloWorld.cpp file (HelloWorldTrainingData.txt) in the Xcode build folder.
This will be wherever Xcode places your application after it builds it, in my
version of Xcode this is normally in:
ProjectFolder/DerivedData/NameOfProject/Build/Products/Debug
If you are having problems finding the folder that Xcode places your
application in then you could simply place the HelloWorldTrainingData.txt file
on your desktop and change the filepath of the file in the example code. For
example, on line 28 in HelloWorld.cpp where it says:
if( !trainingData.loadDatasetFromFile("HelloWorldTrainingData.txt") ){
change the file string to: "/Users/USERNAME/Desktop/HelloWorldTrainingData.txt"
This should fix this issue for you.
- Nick
Original comment by nickgill...@gmail.com
on 11 Feb 2013 at 4:46
Original issue reported on code.google.com by
bac...@gmail.com
on 9 Feb 2013 at 11:00