honzour / backpropagation

demo backpropagation for Android
8 stars 1 forks source link

Import/Export problem #1

Open Yarith97 opened 2 years ago

Yarith97 commented 2 years ago

I'm really having a hard time trying to import a data training from .csv file on Backpropagation app in my android phone: i've put a file called data.csv in /storage/emulated/0/Download/data.csv but the application can't load from it anything. It just keeps leaving me the error message java.io.FileNotFoundException ... open failed EACCES (Permission denied)

I'm really sure the app has the storage permission to access the file, cause if I deny it from app->permission->backpropagation->storage when inside the app I try to press the load button it asks me to give the admin permission. Even like this it keeps giving me the error output I'm also sure the app can find the file cause otherwise it says that the file cannot be found The file contains a lot of data like 1990,12.03,11.74,12.4,10.32,9.61,13.51,3.2,,7.4 and on the app i've also tried to edit the net anatomy to a 8-x-1 input/hidden/output layers

Please i really need help on that! The app is fantastic and I really need it for a high school project!

1 2

TheGullahanMaster commented 2 months ago

Hi. I know it's rather late, and i\m not the author, but the issue is that newer android requires different sets of permissions to those in the android version this thing was made for. For the time being, typing /data/data/cz.honza.backpropagation/somefile.csv or /data/data/cz.honza.backpropagation/somefile.xml will work on both imports and exports, as it still has access to its own data directory. unfortunately, copying things there will be a challenge in the newest adnroids (i believe 13 started it) as the acces has been revoked to third party apps, like file managers, and the default Files doesn't even allow copying either