Code Monkey home page Code Monkey logo

space-engineers-ai-spaceship-generator's Introduction

🚀 Space Engineers AI Spaceship Generator 🚀

License: MIT Lines of code GitHub issues GitHub forks GitHub Repo stars GitHub last commit

pcgsepy_banner

Download

Download AI Spaceship Generator for Windows from the releases page.

Introduction

Apps and code (PCGSEPy library) developed for the Space Engineers PCG project, supported by a GoodAI research grant. The main app is the AI Spaceship Generator, which creates spaceships for Space Engineers using AI (for more information, see our research explainer and publications). The second app is a Spaceships Ranker, which is used for conducting a user study.

Development status

You can check the current status of development of the application at the wiki.

Application

The following is a quick overview of the application "AI Spaceship Generator". Further documentation is available within the application itself.

The application creates a log file each time it is launched. You can have more information in the log file by adding the --debug flag to the executable (note that this will produce much larger log files).

AI Spaceship Generator (user mode)

ui_usermode_preview

The default mode for the app. The AI generates an initial "population" of spaceships (top left). When a spaceship is selected from the population it is visualised (top middle) and its properties are displayed (top right). You can choose to "evolve" a new set of spaceships based on either the selected spaceship or a random spaceship (the "evolution" process tries to construct new spaceships based on an existing spaceship). You can also re-initialise the population of spaceships.

AI Spaceship Generator (developer mode)

ui_devmode_preview

An advanced mode, with full access to every part of the system that can be changed during the evolution process. You can launch the application in developer mode by adding the --dev_mode parameter to the executable.

TilesMaker

tilesmaker_preview

The TilesMaker is a command-line application that makes it easy for any user to integrate their tiles in the "AI Spaceship Generator".

To create a tile, place the blueprint folder created in Space Engineers in the tileset folder (if it does not exist, it will be created when the application is first launched). The TilesMaker will then ask you which blueprint to create a tile from, as well as an optional custom name for the tile. Then, simply follow the instructions reported in the program to add the tile.

Remember to modify the high-level rules (hlrules and hlrules_sm) with your new tile, making sure the probability of expansions always sums up to 1 (otherwise an error will be thrown and the application will not start). For example, if you have create the tile mytile and the current high-level rules are:

  • simpletile 1 nexttile

And you want mytile to be created from simpletile as well, then the updated high-level rules may be like this:

  • simpletile 0.4 nexttile
  • simpletile 0.6 mytile

Happy tile making!

Roadmap

The user study period has concluded (November 2022); thanks to everyone who participated!.

After the end of 2022, the project's active support phase ended.

Development

This project requires Python 3. The PCGSEPy library (including its requirements) can be installed by running pip install -e .. To use PyTorch in the library (required for some research experiments, but not the application), first set the use_torch flag in configs.ini.

We recommend creating a conda environment for the application. Make sure to install orca via conda install -c plotly plotly-orca in case the spaceship download hangs (spinner on the top right remains visible for over 30 seconds to a minute).

Building the apps

The application can be built using the provided python build_main_webapp.py file. The executable file will be created in the dist folder.

Documentation

An explorable documentation is provided in docs. You can build the documentation by first installing pdoc3 (pip install pdoc3) and then running the command pdoc --html pcgsepy --force --output-dir ./docs.

Modifiable files

Some files can be modified before building the apps. These are:

  • The estimators under the estimators folders: these are .pkl files and can be generated by running the steam-workshop-downloader\spaceships-analyzer.ipynb notebook (additional details are provided in the notebook itself).
  • The configs.ini file: different settings can be specified in this file, making sure to respect the setting formats specified in pcgsepy\config.py.
  • block_definitions.json: this file can be excluded from the application building file, but it is required to run the application. It can be recreated when the application is first launched if an instance of Space Engineers is open and the iv4xr API is installed.
  • hlrules, llrules: these files define the expansion rules of the underlying L-system used in the application. hlrules determines the tile placements when creating spaceships, whereas llrules determines the game blocks used in a tile. If you want to add your own tiles in the application, please follow the instructions reported in l-system\rules-extractor.ipynb and remember to also update the hl_atoms.json file.

Codebase overview

  • pcgsepy: this directory contains the main Python PCGSEPy library.
  • steam-workshop-downloader: this directory contains the code used to download the spaceships from the Steam Workshop and extract the metrics of interest.
  • l-system: this directory contains the code used for the L-system and FI-2Pop experiments.
  • icmap-elites: this directory contains the code used for the Interactive Constrained MAP-Elites experiments and the user study.

For more information, refer to the READMEs in each directory.

Research

The AI Spaceship Generator consists of several components, allowing it to generate both functional and aesthetically-pleasing spaceships for Space Engineers. The basis is a rule-based procedural content generation algorithm that generates working ships, which is combined with an evolutionary algorithm that optimises their appearance, resulting in a novel hybrid evolutionary algorithm. The basic heuristics for the evolutionary algorithm to optimise were derived by analysing the properties of spaceships available on the Space Engineers’ Steam Workshop page.

This is then combined with a novel algorithm that finds a diverse set of spaceships, making more choices available. Finally, we have built a graphical interface for these algorithms so that you can influence the spaceship generator’s choices, alongside another novel algorithm that tries to tune the system to better follow the your ideas.

Starting from an initial population of vessels, you can select a spaceship to "evolve" - the underlying evolutionary algorithm then "mutates" this, creating new spaceships with similar properties (shape, size, etc.). This process can be repeated to continuously generate new spaceships.

Publications

Gallotta, R., Arulkumaran, K., & Soros, L. B. (2022). Evolving Spaceships with a Hybrid L-system Constrained Optimisation Evolutionary Algorithm. In Genetic and Evolutionary Computation Conference Companion.

Gallotta, R., Arulkumaran, K., & Soros, L. B. (2022). Surrogate Infeasible Fitness Acquirement FI-2Pop for Procedural Content Generation. In IEEE Conference on Games.

Gallotta, R., Arulkumaran, K., & Soros, L. B. (2022). Preference-Learning Emitters for Mixed-Initiative Quality-Diversity Algorithms. arXiv preprint arXiv:2210.13839.

space-engineers-ai-spaceship-generator's People

Contributors

gallorob avatar kaixhin avatar martinpoliak-goodai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

space-engineers-ai-spaceship-generator's Issues

More thruster variations

Issue type: [ feature request ]

My idea:
Add more thruster templates to the ai to choose from i understand the generating the large thrusters might be problematic since even the small ones get placed in the wrong place sometimes: image

but you could add a thruster bay that has a different formation, maybe one with more or fewer thrusters
for example:
image
image

this could be done with different shaped cockpits and reactor rooms.

Controle Slider(s) for ship Size to generate

Issue type: [ feature request ]

Severity: [medium ]

Describe the issue
Is it possilbe to make a slider(s) so you can decide the increase or decrease the size before you generate ships,

Now it makes really Big ships, that takes a lot of time te generate and arend really ussable in SE. The Smaller ship are already the size of Xoc Xebon Battlecruiser, Too Large!

Not possible to accept the privacy policy!

Issue type: bug

Severity: high (application-breaking)

Describe the issue
As soon as i launch the generator.exe my browser opens and the screen darkens but i dont get any privacy policy message or something similar... after i reload the Tab a small box shows up for an second or so and then disapears again i think thats the privacy policy box but idk since i cant read that fast...

To Reproduce
Steps to reproduce the behavior:

  1. Launch AI.Spaceship.Generator.v1.0.2
  2. Do nothing till it opens
  3. There should be a darkend screen now
  4. Click reload and keep an eye out for a box in the middle of the screen that randomly disapears

Expected behavior
The box should disapear and you are not able to accept the privacy policy!

Screenshots
image

Log file
log_20221113093731.log

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Firefox
  • .exe file name: AI.Spaceship.Generator.v1.0.2

Additional context
Add any other context about the problem here.

Create a standardized issues template

The template should include what the issue is, the severity, and a short description of what happened.

Users should also be invited to update the relevant log file (log_{TIMESTAMP}.log) for inspection. The log file does not contain any user information if they declined the privacy policy or have already completed the user study.

Speeding up the process in lots of times

Issue type: feature request

Severity: medium

Describe the feature

So, it seems that you are using pytorch library for this project (based on a single viewed file, i am sorry if i am just dumb and didnt read something), which is fine. But, I have a question, why it doesnt use cuda? CPU is slow for such computation kind (lots of same easy computations), but a GPU is designed in my mind for such use cases.

Switching the device to cuda, can make a big (or significant) perfomance uplift. I was doing some stuff with pytorch (my projects were dumb tho) and trasnfering the model to another device is very easy, one method and one check:

DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
model = torch.load("model name").to(DEVICE)

(google it or search in pytorch docs, i am not sure about the method name for transfering models in another device)

btw, it would be better if used libs (such as pytorch) was installed on a pc in a created venv (you can create venvs via scripts, i guess). this will allow to bring quick pop up on a start, with a question "Do you have an NVidia GPU?", if yes it will install pytorch with cuda support, else pytorch without cuda. (yes, i am aware pytorch is about 2 gigs, at least with cuda support)

PC:

  • OS: Windows
  • Browser: Chrome
  • .exe file name: Spaceship.Generator.v1.0.3.exe

Additional context

how i came to such consern? my cuda is not used, when use stable diffusion or my own projects, they use cuda device

...also it would be useful to provide quick guide to know what gpu does user use, cuz sometimes i see people didnt knowing what gpu they are using.

Comparator Crash

Issue type: bug

Severity: high (application-breaking)

Describe the issue
When I launch Spaceships.Comparator.v1.0.0.exe after a while it crashes with the following message in the cmd window:

Traceback (most recent call last):
File "comparator_webapp_launcher.py", line 12, in <module>
File "<frozen importlib_bootstrap>", line 1027, in _find_and_load
File "<frozen importlib_bootstrap>", line 1066, in _find_and_load_unlocked
File "<frozen importlib_bootstrap>", line 688, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "pcgsepy\guis\ships_comparator\webapp.py", line 66, in <module>
File "pcgsepy\setup_utils.py". line 83, in get_default_lsystem
File "pcgsepy\lsystem\rules.py", line 94, in _init_
FileNotFoundError: [Errno 2] No such file or directory: "hlrules_sm"
[13420] Failed to execute script "comparator_webapp_launcher" due to unhandled exception!

To Reproduce
Steps to reproduce the behavior:

  1. Launch the aforementioned exe file
  2. See error after about 10 seconds.

Expected behavior
Comparator UI showing up.

Screenshots

Zrzut ekranu (286)

Log file
I found no log file in the directory the exe file was.

Desktop (please complete the following information):

  • OS: Windows 10 21H2
  • Browser: Chrome 106.0.5249.119
  • .exe file name: Spaceships.Comparator.v1.0.0.exe

Additional context
Tried laucnhing the comparator exe with admin rights, same results. Also tried runing comparator while the main app is running vs when it's not.

SpaceshipGenerator iteration issue (memory error)

Issue type: Choose from [ bug | feature request ]
Bug

Severity: Suggest one from [low | medium | high (application-breaking) ]
High (Application-Breaking)
-> in terms, the iterations don't work anymore, nothing is happening and it appears I would have to quit the app and reopen it again in order to make new iterations

Describe the issue
A clear and concise description of what the bug is.
I ran 10 iterations of the ships, then I ran 10 more (20 total) and then I ran 10 more, the 3rd time I ran 10 iterations, I got stuck on 8/10 and got errors which I will provide in the screenshots.

To Reproduce
Steps to reproduce the behavior:
Described above.

Expected behavior
A clear and concise description of what you expected to happen.
Well I expected those 10 iterations to finish and give me a new spaceship.

Screenshots
If applicable, please add screenshots to help explain your problem, they tremendously help understanding the issue.
scr1
scr2

**Note -> I don't understand what a memory error is, but I have more than enough RAM, VRAM and SSD/HDD space if that's the case. (RTX 3070, 32 (2x16) GB 3200 MHz ram and C disk SSD with 95 GB space left, E disk HDD with 705 GB space left).

Log file
In case of bugs, please upload the relevant log file (log_{TIMESTAMP}.log) for inspection. The log file does not contain any user information if the user declined the privacy policy or have already completed the user study.
I don't have it? I need more info on where to find it, as I started the .exe from downloads folder, and I have too much stuff there, but under the name "log_{TIMESTAMP}.log" I can't find anything, I looked in temp folder also, nothing there.

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • .exe file name: AI.Spaceship.Generator.v1.0.0.exe

Additional context
Add any other context about the problem here.
Just to mention, I am sorry if I got something wrong and/or are wasting your time with this issue, but considering the fact that first 20 iterations ran without problem, I think this was worth mentioning?

Unable to Toggle Voxel Preview

Issue type: [ bug ]

Severity: [ medium ]

Describe the issue
An exception is throw when trying to toggle voxel preview. All buttons become disabled.

To Reproduce
Steps to reproduce the behavior:

  1. Open the AI.Spaceship.Generator.v1.0.0.exe
  2. Wait initialize
  3. click "Toggle Voxel Preview"
  4. Exception:
Exception on /_dash-update-component [POST]
Traceback (most recent call last):
  File "flask\app.py", line 2525, in wsgi_app
  File "flask\app.py", line 1822, in full_dispatch_request
  File "flask\app.py", line 1820, in full_dispatch_request
  File "flask\app.py", line 1796, in dispatch_request
  File "dash\dash.py", line 1261, in dispatch
  File "dash\_callback.py", line 440, in add_context
  File "pcgsepy\guis\main_webapp\webapp.py", line 3612, in general_callback
  File "pcgsepy\guis\main_webapp\webapp.py", line 2626, in __toggle_voxelization
IndexError: list index out of range
ERROR:pcgsepy.guis.main_webapp.webapp:Exception on /_dash-update-component [POST]
Traceback (most recent call last):
  File "flask\app.py", line 2525, in wsgi_app
  File "flask\app.py", line 1822, in full_dispatch_request
  File "flask\app.py", line 1820, in full_dispatch_request
  File "flask\app.py", line 1796, in dispatch_request
  File "dash\dash.py", line 1261, in dispatch
  File "dash\_callback.py", line 440, in add_context
  File "pcgsepy\guis\main_webapp\webapp.py", line 3612, in general_callback
  File "pcgsepy\guis\main_webapp\webapp.py", line 2626, in __toggle_voxelization
IndexError: list index out of range

Expected behavior
All buttons become disabled, can't use the application.

Screenshots
If applicable, please add screenshots to help explain your problem, they tremendously help understanding the issue.

Desktop (please complete the following information):

  • OS: [Windows 11]
  • Browser: [Chrome, Brave]
  • .exe file name: AI.Spaceship.Generator.v1.0.0.exe

The spaceship preview isn't aligned

Issue type: Choose from [ bug | feature request ]
Bug

Severity: Suggest one from [low | medium | high (application-breaking) ]
low

Describe the issue
A clear and concise description of what the bug is.
The spaceship preview isn't aligned with the tileset.
Also downloaded blueprints with grid orientation in Space Engineers.

To Reproduce
Steps to reproduce the behavior:
It can always be seen in the spaceship preview.

Expected behavior
A clear and concise description of what you expected to happen.
The orientation of the generated spacecraft is incorrect.

Screenshots
If applicable, please add screenshots to help explain your problem, they tremendously help understanding the issue.
WS001343
WS001344
20221102214235_1
The red plane is vertical align.

Log file
In case of bugs, please upload the relevant log file (log_{TIMESTAMP}.log) for inspection. The log file does not contain any user information if the user declined the privacy policy or have already completed the user study.

Desktop (please complete the following information):

  • OS: Windows 10 Home 22H2
  • Browser: Chrome 106.0.5249.119
  • .exe file name: AI.Spaceship.Generator.v1.0.2.exe

Additional context
Add any other context about the problem here.

Minor Spelling Error in App Info

Issue type: Bug
Severity: Low

Describe the issue
Minor spelling error I noticed, shown in the screenshot and underlined,
"spacehsip"

To Reproduce
Steps to reproduce the behavior:

  1. Load up webpage with program
  2. Click on "App Info"
  3. See spelling error in screenshot

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10 Pro
  • Browser: Chrome
  • .exe file name: Spaceship.Generator.v1.0.3.exe

Publish latest release

@martinpoliak-goodai I could not open a new branch to push the latest changes for a PR, so they're currently on main.

The new version introduces:

  • a size filter, as suggested in #12
  • exclude configuration and tiles/atoms files, so that users can:
    • control all properties of the application (solves #14)
    • create their own tilesets from a Space Engineers blueprint (feature requested #16)

As for the last point, the application also now builds a "TilesMaker.exe", which is a simple command line program to easily generate the tiles rules and properties.

Please try compile the application and try running it. Make sure the following files are in the same directory as the executable:

  • block_definitions.json
  • common_atoms.json
  • configs.ini
  • hl_atoms.json
  • hlrules
  • hlrules_sm
  • llrules
    As such, these will also be needed by the users, so I would suggest releasing the application as a .zip file for conveniency sake.

As I mentioned previously, I won't be able to support this repository anymore, but if there are issues with this release I should be able to work on them 😃

Ships are generated on there side.

Issue type: [ bug ]

Severity: [ low ] but very irritating!

Describe the issue
Ships are generated on there side and i cant turn the camera to look at them from the top down.

To Reproduce
Generate a ship and look at its front to see where the cockpit is

Expected behavior
I expect to see them from the top or front and get really confused when i realise the cool ship i generated has its interiors in the wrong direction.

Screenshots
image
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome]
  • Spaceship.Generator.v1.0.3.exe

Error upon file upload

Issue type: bug

Severity: high (application-breaking)

Describe the issue
Uploading files causes this error:

Serving webapp on http://127.0.0.1:8051/...
Exception on /_dash-update-component [POST]
Traceback (most recent call last):
  File "flask\app.py", line 2525, in wsgi_app
  File "flask\app.py", line 1822, in full_dispatch_request
  File "flask\app.py", line 1820, in full_dispatch_request
  File "flask\app.py", line 1796, in dispatch_request
  File "dash\dash.py", line 1261, in dispatch
  File "dash\_callback.py", line 440, in add_context
  File "pcgsepy\guis\ships_comparator\webapp.py", line 552, in general_callback
  File "pcgsepy\guis\ships_comparator\webapp.py", line 552, in <listcomp>
  File "pcgsepy\guis\ships_comparator\webapp.py", line 184, in parse_contents
ValueError: too many values to unpack (expected 3)
ERROR:pcgsepy.guis.ships_comparator.webapp:Exception on /_dash-update-component [POST]
Traceback (most recent call last):
  File "flask\app.py", line 2525, in wsgi_app
  File "flask\app.py", line 1822, in full_dispatch_request
  File "flask\app.py", line 1820, in full_dispatch_request
  File "flask\app.py", line 1796, in dispatch_request
  File "dash\dash.py", line 1261, in dispatch
  File "dash\_callback.py", line 440, in add_context
  File "pcgsepy\guis\ships_comparator\webapp.py", line 552, in general_callback
  File "pcgsepy\guis\ships_comparator\webapp.py", line 552, in <listcomp>
  File "pcgsepy\guis\ships_comparator\webapp.py", line 184, in parse_contents
ValueError: too many values to unpack (expected 3)

Dosen't matter if its one file or all 4 at once.
To Reproduce
Steps to reproduce the behavior:

  1. Launch Spaceships Comparator (no Pytorch)_*date*.exe (I coppied the missing line from arayabrain@25d0300 , ran the .py file and launched the exe file in dist subfolder)
  2. Click on 'Drag and Drop or Select Files' button
  3. Select files
  4. See error

Expected behavior
Images of selected ships showing up under their names (Spaceship A/B/C/D).

Screenshots
No applicable screenshot.

Log file
No log file found but here's output from compiler:

C:\Users\Jonasz\Documents\GitHub\space-engineers-ai-spaceship-generator\venv\Scripts\python.exe "C:/Program Files/JetBrains/PyCharm Community Edition 2021.3.2/plugins/python-ce/helpers/pydev/pydevd.py" --multiprocess --qt-support=auto --client 127.0.0.1 --port 58350 --file C:\Users\Jonasz\Documents\GitHub\space-engineers-ai-spaceship-generator\user-study\build_comparator.py 
Connected to pydev debugger (build 222.4345.23)
962 INFO: PyInstaller: 5.6.1
962 INFO: Python: 3.10.2
972 INFO: Platform: Windows-10-10.0.19044-SP0
973 INFO: wrote C:\Users\Jonasz\Documents\GitHub\space-engineers-ai-spaceship-generator\user-study\Spaceships Comparator (no Pytorch)_20221028.spec
977 INFO: UPX is not available.
977 INFO: Removing temporary files and cleaning cache in C:\Users\Jonasz\AppData\Local\pyinstaller
1051 INFO: Extending PYTHONPATH with paths
['C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\user-study']
2199 INFO: checking Analysis
2199 INFO: Building Analysis because Analysis-00.toc is non existent
2199 INFO: Initializing module dependency graph...
2202 INFO: Caching module graph hooks...
2225 WARNING: Several hooks defined for module 'numpy'. Please take care they do not conflict.
2235 INFO: Analyzing base_library.zip ...
5308 INFO: Loading module hook 'hook-encodings.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
7569 INFO: Loading module hook 'hook-pickle.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
11283 INFO: Loading module hook 'hook-heapq.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
12710 INFO: Caching module dependency graph...
13309 INFO: running Analysis Analysis-00.toc
13350 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
  required by C:\Users\Jonasz\AppData\Local\Programs\Python\Python310\python.exe
13459 INFO: Analyzing C:\Users\Jonasz\Documents\GitHub\space-engineers-ai-spaceship-generator\user-study\comparator_webapp_launcher.py
13633 INFO: Loading module hook 'hook-platform.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
14460 INFO: Loading module hook 'hook-dash.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
14816 INFO: Loading module hook 'hook-plotly.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
53740 INFO: Processing pre-find module path hook distutils from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-distutils.py'.
54474 INFO: Loading module hook 'hook-distutils.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
54960 INFO: Loading module hook 'hook-PIL.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
55113 INFO: Loading module hook 'hook-PIL.Image.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
56409 INFO: Loading module hook 'hook-pycparser.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
57295 INFO: Loading module hook 'hook-distutils.util.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
57367 INFO: Loading module hook 'hook-sysconfig.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
57922 INFO: Loading module hook 'hook-setuptools.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
61672 INFO: Loading module hook 'hook-pkg_resources.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
64909 INFO: Loading module hook 'hook-xml.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
66615 INFO: Loading module hook 'hook-multiprocessing.util.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
68061 INFO: Loading module hook 'hook-PIL.ImageFilter.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
69104 INFO: Loading module hook 'hook-numpy.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\Lib\\site-packages\\numpy\\_pyinstaller'...
70022 INFO: Loading module hook 'hook-numpy._pytesttester.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
70736 INFO: Loading module hook 'hook-difflib.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
74056 INFO: Loading module hook 'hook-pandas.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
77213 INFO: Loading module hook 'hook-pytz.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
79070 INFO: Processing pre-safe import module hook six.moves from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module\\hook-six.moves.py'.
81456 INFO: Loading module hook 'hook-scipy.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
82138 INFO: Loading module hook 'hook-matplotlib.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
83124 INFO: Loading module hook 'hook-packaging.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
83413 INFO: Processing pre-safe import module hook gi from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module\\hook-gi.py'.
84895 INFO: Loading module hook 'hook-jinja2.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
87068 INFO: Loading module hook 'hook-matplotlib.backends.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
91273 INFO: Loading module hook 'hook-certifi.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
91397 INFO: Loading module hook 'hook-scipy.linalg.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
92039 INFO: Loading module hook 'hook-scipy.sparse.csgraph.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
94571 INFO: Loading module hook 'hook-scipy.spatial.transform.rotation.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
100216 INFO: Loading module hook 'hook-pandas.io.formats.style.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
105561 INFO: Loading module hook 'hook-pandas.plotting.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
109067 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
109131 INFO: Loading module hook 'hook-xml.dom.domreg.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
110360 INFO: Loading module hook 'hook-sqlite3.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
113811 INFO: Loading module hook 'hook-kaleido.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
115077 INFO: Processing pre-safe import module hook urllib3.packages.six.moves from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module\\hook-urllib3.packages.six.moves.py'.
117942 INFO: Loading module hook 'hook-patsy.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
121302 INFO: Loading module hook 'hook-statsmodels.tsa.statespace.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
145199 INFO: Loading module hook 'hook-flask_compress.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
145291 INFO: Loading module hook 'hook-dash_bootstrap_components.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
146399 INFO: Processing pre-find module path hook pyi_splash from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-pyi_splash.py'.
146401 INFO: Adding pyi_splash module to application dependencies.
146412 INFO: Processing module hooks...
296947 INFO: Loading module hook 'hook-matplotlib.backends.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
296948 INFO: Matplotlib backend selection method: automatic discovery of used backends
297920 INFO: Trying determine the default backend as first importable candidate from the list: ['Qt5Agg', 'Gtk3Agg', 'TkAgg', 'WxAgg']
302087 INFO: Selected matplotlib backends: ['TkAgg']
304767 INFO: Loading module hook 'hook-PIL.SpiderImagePlugin.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
305020 INFO: Processing pre-safe import module hook win32com from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\pre_safe_import_module\\hook-win32com.py'.
307976 INFO: Loading module hook 'hook-scipy.special._ellip_harm_2.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
307977 INFO: Loading module hook 'hook-scipy.special._ufuncs.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
307979 INFO: Loading module hook 'hook-scipy.stats._stats.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
308078 INFO: Loading module hook 'hook-setuptools.msvc.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
312048 INFO: Loading module hook 'hook-_tkinter.py' from 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks'...
315319 INFO: checking Tree
315319 INFO: Building Tree because Tree-00.toc is non existent
315319 INFO: Building Tree Tree-00.toc
315592 INFO: checking Tree
315592 INFO: Building Tree because Tree-01.toc is non existent
315592 INFO: Building Tree Tree-01.toc
316967 INFO: checking Tree
316967 INFO: Building Tree because Tree-02.toc is non existent
316967 INFO: Building Tree Tree-02.toc
322354 INFO: Looking for ctypes DLLs
322574 INFO: Analyzing run-time hooks ...
322877 INFO: Including run-time hook 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py'
322879 INFO: Including run-time hook 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_subprocess.py'
322882 INFO: Including run-time hook 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py'
322887 INFO: Including run-time hook 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py'
322893 INFO: Including run-time hook 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_setuptools.py'
322895 INFO: Including run-time hook 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgres.py'
322906 INFO: Including run-time hook 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth__tkinter.py'
322908 INFO: Including run-time hook 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_mplconfig.py'
323884 INFO: Looking for dynamic libraries
C:\Users\Jonasz\Documents\GitHub\space-engineers-ai-spaceship-generator\venv\lib\site-packages\PyInstaller\building\build_main.py:173: UserWarning: The numpy.array_api submodule is still experimental. See NEP 47.
  __import__(package)
6189 INFO: Extra DLL search directories (AddDllDirectory): ['C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\numpy\\.libs', 'C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\lib\\site-packages\\scipy.libs']
6189 INFO: Extra DLL search directories (PATH): ['C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\venv\\Scripts', 'c:\\devkitPro\\msys2\\usr\\bin', 'C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath', 'C:\\Windows\\system32', 'C:\\Windows', 'C:\\Windows\\System32\\Wbem', 'C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\', 'C:\\Windows\\System32\\OpenSSH\\', 'C:\\ProgramData\\chocolatey\\bin', 'C:\\Program Files (x86)\\GtkSharp\\2.12\\bin', 'C:\\Program Files (x86)\\WinMerge', 'C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL', 'C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL', 'C:\\Program Files\\Microsoft SQL Server\\150\\Tools\\Binn\\', 'C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn\\', 'C:\\Program Files\\Git\\cmd', 'C:\\Program Files (x86)\\FAHClient', 'C:\\Program Files\\dotnet\\', 'C:\\Users\\Jonasz\\AppData\\Local\\Programs\\Python\\Python310\\Scripts\\', 'C:\\Users\\Jonasz\\AppData\\Local\\Programs\\Python\\Python310\\', 'C:\\Users\\Jonasz\\AppData\\Local\\Microsoft\\WindowsApps', 'C:\\Users\\Jonasz\\AppData\\Local\\GitHubDesktop\\bin', 'C:\\Program Files\\JetBrains\\PyCharm Community Edition 2021.3.2\\bin', 'C:\\Users\\Jonasz\\.dotnet\\tools', 'C:\\Program Files\\JetBrains\\IntelliJ IDEA 2022.2\\bin', 'C:\\Users\\Jonasz\\AppData\\Local\\Programs\\Microsoft VS Code\\bin']
337096 INFO: Looking for eggs
337096 INFO: Using Python library C:\Users\Jonasz\AppData\Local\Programs\Python\Python310\python310.dll
337096 INFO: Found binding redirects: 
[]
337336 INFO: Warnings written to C:\Users\Jonasz\Documents\GitHub\space-engineers-ai-spaceship-generator\user-study\build\Spaceships Comparator (no Pytorch)_20221028\warn-Spaceships Comparator (no Pytorch)_20221028.txt
341617 INFO: Graph cross-reference written to C:\Users\Jonasz\Documents\GitHub\space-engineers-ai-spaceship-generator\user-study\build\Spaceships Comparator (no Pytorch)_20221028\xref-Spaceships Comparator (no Pytorch)_20221028.html
343517 INFO: Appending 'datas' from .spec
343592 INFO: checking PYZ
343592 INFO: Building PYZ because PYZ-00.toc is non existent
343592 INFO: Building PYZ (ZlibArchive) C:\Users\Jonasz\Documents\GitHub\space-engineers-ai-spaceship-generator\user-study\build\Spaceships Comparator (no Pytorch)_20221028\PYZ-00.pyz
360667 INFO: Building PYZ (ZlibArchive) C:\Users\Jonasz\Documents\GitHub\space-engineers-ai-spaceship-generator\user-study\build\Spaceships Comparator (no Pytorch)_20221028\PYZ-00.pyz completed successfully.
362124 INFO: Collect tcl/tk binaries for the splash screen
364487 INFO: checking Tree
364487 INFO: Building Tree because Tree-03.toc is non existent
364487 INFO: Building Tree Tree-03.toc
364695 INFO: checking Tree
364695 INFO: Building Tree because Tree-04.toc is non existent
364695 INFO: Building Tree Tree-04.toc
365919 INFO: checking Tree
365919 INFO: Building Tree because Tree-05.toc is non existent
365919 INFO: Building Tree Tree-05.toc
367136 INFO: checking Splash
367136 INFO: Building Splash because Splash-00.toc is non existent
367137 INFO: Building Splash C:\Users\Jonasz\Documents\GitHub\space-engineers-ai-spaceship-generator\user-study\build\Spaceships Comparator (no Pytorch)_20221028\Splash-00.res
367156 INFO: checking PKG
367156 INFO: Building PKG because PKG-00.toc is non existent
367156 INFO: Building PKG (CArchive) Spaceships Comparator (no Pytorch)_20221028.pkg
411997 INFO: Building PKG (CArchive) Spaceships Comparator (no Pytorch)_20221028.pkg completed successfully.
412692 INFO: Bootloader C:\Users\Jonasz\Documents\GitHub\space-engineers-ai-spaceship-generator\venv\lib\site-packages\PyInstaller\bootloader\Windows-64bit\run.exe
412692 INFO: checking EXE
412692 INFO: Building EXE because EXE-00.toc is non existent
412692 INFO: Building EXE from EXE-00.toc
412705 INFO: Copying bootloader EXE to C:\Users\Jonasz\Documents\GitHub\space-engineers-ai-spaceship-generator\user-study\dist\Spaceships Comparator (no Pytorch)_20221028.exe.notanexecutable
412817 INFO: Copying icon to EXE
412818 INFO: Copying icons from ['C:\\Users\\Jonasz\\Documents\\GitHub\\space-engineers-ai-spaceship-generator\\user-study\\assets\\favicon.ico']
412914 INFO: Writing RT_GROUP_ICON 0 resource with 20 bytes
412914 INFO: Writing RT_ICON 1 resource with 4264 bytes
412917 INFO: Copying 0 resources to EXE
412918 INFO: Embedding manifest in EXE
412921 INFO: Updating manifest in C:\Users\Jonasz\Documents\GitHub\space-engineers-ai-spaceship-generator\user-study\dist\Spaceships Comparator (no Pytorch)_20221028.exe.notanexecutable
413022 INFO: Updating resource type 24 name 1 language 0
413026 INFO: Appending PKG archive to EXE
413208 INFO: Fixing EXE headers
414917 INFO: Building EXE from EXE-00.toc completed successfully.

Process finished with exit code 0

Desktop (please complete the following information):

  • OS: Windows 10 22H1
  • Browser: Chrome 107.0.5304.88
  • .exe file name: Spaceships Comparator (no Pytorch)_20221028.exe

Additional context
build_comparator.py after the change:
build_comparator.zip

Comparator Program doesn't open

I have finally succeeded in taking the user study after 4 attempts. My issue now is that the Comparator program doesn't open.
It loads the log screen and logo then closes fast. I was able to screenshot the message for the fraction of a second it was up.
I have tried running as an admin and re-downloading the file.
I have also tried downloading the binaries and unzipping in case that helped, but didn't.
Any advice?
Comaparator error

Can't run the app after building from source

RESOLVED: To Fix: use scipy version 1.9.2

Issue type: BUG? Error on my end?

Severity: High (Application Breaking for me)

Describe the issue
I can build the source with the build_main_webapp.py file, however trying to run the .exe or (directly run the source from the main_webapp_launcher.py) will result in the error below.

To Reproduce
Steps to reproduce the behavior:

  1. open terminal on the project files location
  2. build the project with "py build_main_webapp.py"
  3. run the resulting .exe in the dist folder (or moving it to the main application if it errors for any other reason)
  4. Error:
Traceback (most recent call last):
  File "C:\Users\<username>\source\repos\GoodAI's SE-AI_Spaceship_Generator\main_webapp_launcher.py", line 18, in <module>
    from pcgsepy.evo.fitness import (Fitness, box_filling_fitness, func_blocks_fitness, mame_fitness, mami_fitness)
  File "C:\Users\<username>\source\repos\GoodAI's SE-AI_Spaceship_Generator\pcgsepy\evo\fitness.py", line 22, in <module>
    futo_max = float(np.max(futo_es.evaluate(x)))
  File "C:\Users\<username>\AppData\Local\Programs\Python\Python39\lib\site-packages\scipy\stats\_kde.py", line 270, in evaluate
    points.T, self.cho_cov, output_dtype)
AttributeError: 'gaussian_kde' object has no attribute 'cho_cov'

Expected behavior
Expected the Application to run.

Log file
No log file output as application did not launch.

Desktop (please complete the following information):

  • OS: Windows 11
  • Python Version: 3.9.13 I have now also tried Python Version 3.10.7
  • Browser: Chrome
  • exe's:
    file name: AI Spaceship Generator (no Pytorch)_20230307.exe
    file name: AI Spaceship Generator (with Pytorch)_20230307.exe

Additional Bits
I have tried building (without any modifications) both the main branch, and the source of the latest stable release (v1.0.5) to no avail.
TilesMaker.exe builds and runs perfectly fine for port tiles into the llrules and hlrules files.

NOTE
Just looking for help on resolving this issue, any help from anyone is appreciated.

Was this even tested?

I swear Keen never tests anything.

For starters, the form we need to submit cannot accept JSONs despite them asking for JSON files.

Secondly, some ships won't even evolve past the first generation.

Thirdly, the render window stops working if you are in another tab for long enough.

Thirdly, generation takes FOREVER even on an i9 10940X and two 2080 Tis.

Marek, resign already. You're alienating your community and ruining a game we love by giving us ZERO significant updates in the last 5 years.

log_20221110173142.log

log_20221110184258.log

Logs are Huge

Issue type: bug
Severity: medium

Describe the issue
Logs get rather huge, the log I have currently has:
2,082,250,441 Characters,
133,667 Lines,
And it takes up 2000MBs, or 2GBs of memory when open in Notepad++ shown in task manager

To Reproduce
Steps to reproduce the behavior:

  1. Make a few generations
  2. See huge log file

Log file
I actually can't upload the log file, as it is apparently 1985MBs GitHub says,

Desktop (please complete the following information):

  • OS: Windows 10 Pro
  • Browser: Chrome
  • .exe file name: Spaceship.Generator.v1.0.3.exe

Additional context
I made 1 or 2 generations with changing settings, then I upped the Evolution Iterations to 10,
Then I did a few more generations, about 3-4 more, and already the log file is huge

Suggestion: May create less filled volume

As Roberto G. explained to me by email: "the hull of the spaceship is created as a filled volume, which is then (organically) smoothed out. Removing internal blocks (i.e.: blocks that are internal to the hull but outside of the spaceship's inner corridors) can be done, ideally it would be some method after this line of code".
LINK: https://github.com/GoodAI/space-engineers-ai-spaceship-generator/blob/main/pcgsepy/hullbuilder.py#L731

I think it would be a great improvement as QOL for the user if the hull was not filled with so many blocks from the inside. For example, you could enable an option to specify how thick the outer shell should be (1,2 or 3 blocks thick as an example) or generally implement a function that enables less blocks left inside.

I am sure you will find a good solution. Thanks a lot for your work!

unable to download blueprint

Cant download any blueprints

high (application-breaking)

Describe the issue
I am able to use your aplicxation however everysincel time i try to download the blueprints I am left with the Your selected spaceship will be downloaded shortly.Your selected spaceship will be downloaded shortly. text

I have left it for over 1 hour on a first genuration with a total number of blocks only 5629

To Reproduce
followed all the steps in your information for the genurator and also folled step by step on the live stream but have the same result

Expected behavior
watch the stream it should have downloded the ships

Desktop (please complete the following information):

  • OS: windows 10 latest version
  • Browser: Chrome
  • .exe file name: [Spaceship.Generator.v1.0.1.exe]

Additional context
Add any other context about the problem here.

General questions

is there a discord or someplace

On the release v1.0.5
How many grids were in the dataset?
How large is the trained model?

Additional questions.
How many gigabytes was the dataset.
How long did training take and what were the hardware specs.

Pyinstaller had issues finding sklearn modules

Issue type: bug

Severity: medium

Describe the issue
Windows EXE builds but does not run. See several iterations and the apparent resolution below.
The resolution was taken from StackOverflow (https://stackoverflow.com/questions/56860120/how-do-i-resolve-a-missing-utility-module-preventing-my-executable-from-running), adding the following line to the generated spec file, and running pyinstaller from the command line with the modified spec file.

a.datas += Tree('<path_to_sklearn_in_python_dir>', prefix='sklearn')

To Reproduce
call "AI Spaceship Generator (no Pytorch)_20221209.exe"
Traceback (most recent call last):
File "main_webapp_launcher.py", line 19, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "pcgsepy\guis\main_webapp\webapp.py", line 41, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "pcgsepy\guis\utils.py", line 11, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "pcgsepy\mapelites\map.py", line 10, in
ModuleNotFoundError: No module named 'joblib'
[2080] Failed to execute script 'main_webapp_launcher' due to unhandled exception!

This issue was resolved by running 'python -m pip install joblib' and rerunning 'python build_main_webapp.py'

Result:
call "AI Spaceship Generator (no Pytorch)_20221209.exe"
Traceback (most recent call last):
File "main_webapp_launcher.py", line 19, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "pcgsepy\guis\main_webapp\webapp.py", line 41, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "pcgsepy\guis\utils.py", line 11, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "pcgsepy\mapelites\map.py", line 28, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "pcgsepy\mapelites\emitters.py", line 7, in
ModuleNotFoundError: No module named 'sklearn'
[14156] Failed to execute script 'main_webapp_launcher' due to unhandled exception!

python -m pip install sklearn --user
Requirement already satisfied: sklearn in c:\users\balle\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (0.0.post1)

python -m pip install scikit-learn --user
Collecting scikit-learn
Downloading scikit_learn-1.2.0-cp310-cp310-win_amd64.whl (8.2 MB)
---------------------------------------- 8.2/8.2 MB 23.9 MB/s eta 0:00:00
Requirement already satisfied: joblib>=1.1.1 in c:\users\balle\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-learn) (1.2.0)
Requirement already satisfied: numpy>=1.17.3 in c:\users\balle\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-learn) (1.23.0)
Requirement already satisfied: scipy>=1.3.2 in c:\users\balle\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-learn) (1.8.1)
Collecting threadpoolctl>=2.0.0
Downloading threadpoolctl-3.1.0-py3-none-any.whl (14 kB)
Installing collected packages: threadpoolctl, scikit-learn
Successfully installed scikit-learn-1.2.0 threadpoolctl-3.1.0

Rerunning 'python build_main_webapp.py' produces an executable, but it can't find sklearn modules.

call "AI Spaceship Generator (no Pytorch)20221209.exe"
Traceback (most recent call last):
File "main_webapp_launcher.py", line 19, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "pcgsepy\guis\main_webapp\webapp.py", line 41, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "pcgsepy\guis\utils.py", line 11, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "pcgsepy\mapelites\map.py", line 28, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "pcgsepy\mapelites\emitters.py", line 7, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "sklearn\neural_network_init
.py", line 10, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "sklearn\neural_network_multilayer_perceptron.py", line 26, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "sklearn\model_selection_init_.py", line 23, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "sklearn\model_selection_validation.py", line 32, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "sklearn\metrics_init_.py", line 42, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "sklearn\metrics\cluster_init_.py", line 22, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "sklearn\metrics\cluster_unsupervised.py", line 16, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "sklearn\metrics\pairwise.py", line 33, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "sklearn\metrics_pairwise_distances_reduction_init_.py", line 89, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "sklearn\metrics_pairwise_distances_reduction_dispatcher.py", line 11, in
File "sklearn\metrics_pairwise_distances_reduction_base.pyx", line 1, in init sklearn.metrics._pairwise_distances_reduction._base
ModuleNotFoundError: No module named 'sklearn.metrics._pairwise_distances_reduction._datasets_pair'
[18380] Failed to execute script 'main_webapp_launcher' due to unhandled exception!

Expected behavior
Expected the executable to run.

Screenshots
N/A - Please see screen output.

Log file

python build_main_webapp.py

1090 INFO: PyInstaller: 5.7.0
1090 INFO: Python: 3.10.9
1103 INFO: Platform: Windows-10-10.0.22000-SP0
1104 INFO: wrote C:\Users\balle\Github\space-engineers-ai-spaceship-generator\user-study\AI Spaceship Generator (no Pytorch)_20221209.spec
1109 INFO: UPX is not available.
1109 INFO: Removing temporary files and cleaning cache in C:\Users\balle\AppData\Local\pyinstaller
1421 WARNING: collect_data_files - skipping data collection for module 'dash_daq' as it is not a package.
1422 INFO: Extending PYTHONPATH with paths
['C:\Users\balle\Github\space-engineers-ai-spaceship-generator\user-study']
2937 INFO: checking Analysis
2937 INFO: Building Analysis because Analysis-00.toc is non existent
2938 INFO: Initializing module dependency graph...
2948 INFO: Caching module graph hooks...
2958 WARNING: Several hooks defined for module 'numpy'. Please take care they do not conflict.
2970 INFO: Analyzing base_library.zip ...
8197 INFO: Loading module hook 'hook-encodings.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
9918 INFO: Loading module hook 'hook-heapq.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
11386 INFO: Loading module hook 'hook-pickle.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
12933 INFO: Caching module dependency graph...
13033 INFO: running Analysis Analysis-00.toc
13051 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
required by C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64__qbz5n2kfra8p0\python.exe
13117 WARNING: lib not found: api-ms-win-appmodel-runtime-l1-1-0.dll dependency of C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64__qbz5n2kfra8p0\python.exe
13343 INFO: Analyzing C:\Users\balle\Github\space-engineers-ai-spaceship-generator\user-study\main_webapp_launcher.py
13464 INFO: Loading module hook 'hook-platform.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
13980 INFO: Loading module hook 'hook-numpy.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\numpy\_pyinstaller'...
14843 INFO: Loading module hook 'hook-numpy._pytesttester.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
15417 INFO: Loading module hook 'hook-difflib.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
15812 INFO: Loading module hook 'hook-multiprocessing.util.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
16115 INFO: Loading module hook 'hook-xml.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
17008 INFO: Loading module hook 'hook-sysconfig.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
17679 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
19033 INFO: Loading module hook 'hook-matplotlib.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
19823 INFO: Loading module hook 'hook-packaging.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
20028 INFO: Processing pre-safe import module hook gi from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks\pre_safe_import_module\hook-gi.py'.
20210 INFO: Loading module hook 'hook-PIL.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
20263 INFO: Loading module hook 'hook-PIL.Image.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
22230 INFO: Loading module hook 'hook-pycparser.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
22708 INFO: Processing pre-find module path hook distutils from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks\pre_find_module_path\hook-distutils.py'.
24271 INFO: Loading module hook 'hook-distutils.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
24319 INFO: Loading module hook 'hook-distutils.util.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
24620 INFO: Loading module hook 'hook-setuptools.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
31340 INFO: Loading module hook 'hook-pkg_resources.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
36835 INFO: Loading module hook 'hook-jinja2.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
38571 INFO: Loading module hook 'hook-PIL.ImageFilter.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
39579 INFO: Loading module hook 'hook-matplotlib.backends.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
40267 INFO: Processing pre-safe import module hook six.moves from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks\pre_safe_import_module\hook-six.moves.py'.
42232 INFO: Loading module hook 'hook-certifi.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
42466 INFO: Loading module hook 'hook-scipy.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
42934 INFO: Loading module hook 'hook-scipy.linalg.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
43350 INFO: Loading module hook 'hook-scipy.sparse.csgraph.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
45335 INFO: Loading module hook 'hook-scipy.spatial.transform.rotation.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
48471 INFO: Loading module hook 'hook-dash.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
48887 INFO: Loading module hook 'hook-plotly.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
93984 INFO: Loading module hook 'hook-pandas.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
97872 INFO: Loading module hook 'hook-pytz.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
100643 INFO: Loading module hook 'hook-pandas.io.formats.style.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
104492 INFO: Loading module hook 'hook-pandas.plotting.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
106895 INFO: Loading module hook 'hook-xml.dom.domreg.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
107591 INFO: Loading module hook 'hook-sqlite3.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
110824 INFO: Loading module hook 'hook-kaleido.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
111322 INFO: Processing pre-safe import module hook urllib3.packages.six.moves from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks\pre_safe_import_module\hook-urllib3.packages.six.moves.py'.
113655 INFO: Loading module hook 'hook-patsy.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
116253 INFO: Loading module hook 'hook-statsmodels.tsa.statespace.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
137182 INFO: Loading module hook 'hook-dash_bootstrap_components.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
138003 INFO: Loading module hook 'hook-sklearn.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
139554 INFO: Loading module hook 'hook-sklearn.utils.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
140075 INFO: Loading module hook 'hook-sklearn.cluster.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
140156 INFO: Loading module hook 'hook-sklearn.metrics.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
140392 INFO: Loading module hook 'hook-sklearn.metrics.cluster.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
140434 INFO: Loading module hook 'hook-sklearn.metrics.pairwise.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
140854 INFO: Loading module hook 'hook-sklearn.neighbors.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
141158 INFO: Loading module hook 'hook-sklearn.linear_model.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
143212 INFO: Processing pre-find module path hook pyi_splash from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks\pre_find_module_path\hook-pyi_splash.py'.
143215 INFO: Adding pyi_splash module to application dependencies.
143223 INFO: Processing module hooks...
251223 WARNING: Hidden import "sklearn.neighbors._typedefs" not found!
251284 INFO: Loading module hook 'hook-sklearn.tree.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
251503 INFO: Loading module hook 'hook-matplotlib.backends.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
251504 INFO: Matplotlib backend selection method: automatic discovery of used backends
252187 INFO: Trying determine the default backend as first importable candidate from the list: ['Qt5Agg', 'Gtk3Agg', 'TkAgg', 'WxAgg']
254655 INFO: Selected matplotlib backends: ['TkAgg']
255206 INFO: Loading module hook 'hook-PIL.SpiderImagePlugin.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
255318 INFO: Processing pre-safe import module hook win32com from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\_pyinstaller_hooks_contrib\hooks\pre_safe_import_module\hook-win32com.py'.
256464 INFO: Loading module hook 'hook-scipy.special._ellip_harm_2.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
256465 INFO: Loading module hook 'hook-scipy.special._ufuncs.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
256467 INFO: Loading module hook 'hook-scipy.stats._stats.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
256489 INFO: Loading module hook 'hook-setuptools.msvc.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
257917 INFO: Loading module hook 'hook-_tkinter.py' from 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks'...
258283 INFO: checking Tree
258283 INFO: Building Tree because Tree-00.toc is non existent
258284 INFO: Building Tree Tree-00.toc
258450 INFO: checking Tree
258450 INFO: Building Tree because Tree-01.toc is non existent
258451 INFO: Building Tree Tree-01.toc
258670 INFO: checking Tree
258671 INFO: Building Tree because Tree-02.toc is non existent
258672 INFO: Building Tree Tree-02.toc
259289 INFO: Looking for ctypes DLLs
259443 INFO: Analyzing run-time hooks ...
259495 INFO: Including run-time hook 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks\rthooks\pyi_rth_inspect.py'
259504 INFO: Including run-time hook 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks\rthooks\pyi_rth_mplconfig.py'
259511 INFO: Including run-time hook 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgutil.py'
259521 INFO: Including run-time hook 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks\rthooks\pyi_rth_multiprocessing.py'
259529 INFO: Including run-time hook 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks\rthooks\pyi_rth_setuptools.py'
259537 INFO: Including run-time hook 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgres.py'
259547 INFO: Including run-time hook 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\hooks\rthooks\pyi_rth__tkinter.py'
259702 INFO: Looking for dynamic libraries
C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\building\build_main.py:174: UserWarning: The numpy.array_api submodule is still experimental. See NEP 47.
import(package)
5676 INFO: Extra DLL search directories (AddDllDirectory): ['C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\numpy\.libs', 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\scipy\.libs']
5677 INFO: Extra DLL search directories (PATH): ['C:\Program Files\ImageMagick-7.1.0-Q16-HDRI', 'C:\windows\system32', 'C:\windows', 'C:\windows\System32\Wbem', 'C:\windows\System32\WindowsPowerShell\v1.0\', 'C:\windows\System32\OpenSSH\', 'C:\Program Files\Git\cmd', 'C:\Program Files\Git\mingw64\bin', 'C:\Program Files\Git\usr\bin', 'C:\Program Files\PuTTY\', 'C:\Program Files\TortoiseGit\bin', 'C:\Users\balle\AppData\Local\Microsoft\WindowsApps', 'C:\Program Files\Emacs\x86_64\bin', 'C:\usrlocalbin\ffmpeg\bin', 'C:\Program Files\Tesseract-OCR', 'C:\Users\balle\belfry', 'C:\Users\balle\AppData\Local\Programs\Microsoft VS Code\bin', 'C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\Scripts']
267816 INFO: Looking for eggs
267816 INFO: Using Python library C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64__qbz5n2kfra8p0\python310.dll
267818 INFO: Found binding redirects:
[]
267868 INFO: Warnings written to C:\Users\balle\Github\space-engineers-ai-spaceship-generator\user-study\build\AI Spaceship Generator (no Pytorch)_20221209\warn-AI Spaceship Generator (no Pytorch)_20221209.txt
268819 INFO: Graph cross-reference written to C:\Users\balle\Github\space-engineers-ai-spaceship-generator\user-study\build\AI Spaceship Generator (no Pytorch)_20221209\xref-AI Spaceship Generator (no Pytorch)_20221209.html
269147 INFO: Appending 'datas' from .spec
269198 INFO: checking PYZ
269198 INFO: Building PYZ because PYZ-00.toc is non existent
269199 INFO: Building PYZ (ZlibArchive) C:\Users\balle\Github\space-engineers-ai-spaceship-generator\user-study\build\AI Spaceship Generator (no Pytorch)_20221209\PYZ-00.pyz
273300 INFO: Building PYZ (ZlibArchive) C:\Users\balle\Github\space-engineers-ai-spaceship-generator\user-study\build\AI Spaceship Generator (no Pytorch)_20221209\PYZ-00.pyz completed successfully.
273600 INFO: Collect tcl/tk binaries for the splash screen
273974 INFO: checking Tree
273975 INFO: Building Tree because Tree-03.toc is non existent
273975 INFO: Building Tree Tree-03.toc
274131 INFO: checking Tree
274131 INFO: Building Tree because Tree-04.toc is non existent
274132 INFO: Building Tree Tree-04.toc
274347 INFO: checking Tree
274348 INFO: Building Tree because Tree-05.toc is non existent
274349 INFO: Building Tree Tree-05.toc
274561 INFO: checking Splash
274561 INFO: Building Splash because Splash-00.toc is non existent
274562 INFO: Building Splash C:\Users\balle\Github\space-engineers-ai-spaceship-generator\user-study\build\AI Spaceship Generator (no Pytorch)_20221209\Splash-00.res
274572 INFO: checking PKG
274573 INFO: Building PKG because PKG-00.toc is non existent
274573 INFO: Building PKG (CArchive) AI Spaceship Generator (no Pytorch)_20221209.pkg
312517 INFO: Building PKG (CArchive) AI Spaceship Generator (no Pytorch)_20221209.pkg completed successfully.
312567 INFO: Bootloader C:\Users\balle\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\bootloader\Windows-64bit-intel\run.exe
312567 INFO: checking EXE
312568 INFO: Building EXE because EXE-00.toc is non existent
312568 INFO: Building EXE from EXE-00.toc
312580 INFO: Copying bootloader EXE to C:\Users\balle\Github\space-engineers-ai-spaceship-generator\user-study\dist\AI Spaceship Generator (no Pytorch)_20221209.exe.notanexecutable
312598 INFO: Copying icon to EXE
312599 INFO: Copying icons from ['C:\Users\balle\Github\space-engineers-ai-spaceship-generator\user-study\assets\favicon.ico']
312600 INFO: Writing RT_GROUP_ICON 0 resource with 20 bytes
312601 INFO: Writing RT_ICON 1 resource with 4264 bytes
312604 INFO: Copying 0 resources to EXE
312604 INFO: Embedding manifest in EXE
312605 INFO: Updating manifest in C:\Users\balle\Github\space-engineers-ai-spaceship-generator\user-study\dist\AI Spaceship Generator (no Pytorch)_20221209.exe.notanexecutable
312607 INFO: Updating resource type 24 name 1 language 0
312611 INFO: Appending PKG archive to EXE
312763 INFO: Fixing EXE headers
313531 INFO: Building EXE from EXE-00.toc completed successfully.

Desktop (please complete the following information):

  • OS: Windows 11 Home
  • Browser: Edge
  • .exe file name: AI Spaceship Generator (no Pytorch)_20221209.exe

Additional context
The executable runs when generated with pyinstaller from the command line with a manually modified spec file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.