# Flaw in current neural networks

**URL:** <https://discourse.processing.org/t/flaw-in-current-neural-networks/11512>\
**Category:** Gallery\
**Created:** [May 23, 2019, 6:57am UTC](https://discourse.processing.org/t/flaw-in-current-neural-networks/11512 "2019-05-23T06:57:51Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [June 23, 2019, 10:55pm UTC](https://discourse.processing.org/t/flaw-in-current-neural-networks/11512/8 "2019-06-23T22:55:48Z")

</div>

> [@HackinHarry](#):
>
> , but `File[] list = listFiles("data/");` isn’t working for me.

> [@File Listing Order](https://discourse.processing.org/t/file-listing-order/7148/41):
>
> [Docs.Oracle.com/en/java/javase/11/docs/api/java.base/java/util/Arrays.html#sort(java.lang.Object[])](http://Docs.Oracle.com/en/java/javase/11/docs/api/java.base/java/util/Arrays.html#sort(java.lang.Object%5B%5D)) static final String PICS\_EXTS = "extensions=,png,jpg,jpeg,gif,tif,tiff,tga,bmp,wbmp"; static final float FPS = .25; PImage[] images; void setup() { size(1200, 600); frameRate(FPS); imageMode(CENTER); final File dir = dataFile(""); println(dir); String[] imagePaths = {}; int imagesFound = 0; if (dir.isDirectory()) { imagePaths = listPaths(dir.getPath(), "files", "recursi…

---

_[View the full topic](https://discourse.processing.org/t/flaw-in-current-neural-networks/11512)._
