Skip to content

Feature/so mouse movement + computer score calculation#116

Open
TimonKapischke wants to merge 16 commits into
masterfrom
feature/SO_mouse_movement
Open

Feature/so mouse movement + computer score calculation#116
TimonKapischke wants to merge 16 commits into
masterfrom
feature/SO_mouse_movement

Conversation

@TimonKapischke
Copy link
Copy Markdown
Contributor

No description provided.

@TimonKapischke
Copy link
Copy Markdown
Contributor Author

I fixed all bugs.

@TimonKapischke TimonKapischke requested a review from felbecker July 8, 2019 22:41
@TimonKapischke TimonKapischke changed the title Feature/so mouse movement Feature/so mouse movement + computer score calculation Jul 8, 2019
@TimonKapischke
Copy link
Copy Markdown
Contributor Author

TimonKapischke commented Jul 8, 2019

I haven't tested the program yet. (I have problems with pytorch. The computer cant find a package.)

@felbecker
Copy link
Copy Markdown
Contributor

Thanks.
Since scrollbars do not appear currently, can you change the default value of the flag to false such that your mouse movement is the default behavior?

@felbecker
Copy link
Copy Markdown
Contributor

The view is incorrect for me after selecting the first edge. Enemy edge selection seems to work, however, there must be still a bug in rendering. Maybe something with the new enemy edges? @Luc4sQ

@TimonKapischke
Copy link
Copy Markdown
Contributor Author

I changed the default value.

@MarioStanke MarioStanke self-requested a review July 9, 2019 09:27
@MarioStanke
Copy link
Copy Markdown
Contributor

Das Programm crasht beim anfänglichen Lernen

Epoch: 29 | Loss: 7683.76
Epoch: 30 | Loss: 7436.13
terminate called after throwing an instance of 'std::domain_error'
  what():  value cannot be converted to type float without overflow: 2.65835e+78
Aborted (core dumped)

Einstellungen: Standard, außer k=2

@MarioStanke
Copy link
Copy Markdown
Contributor

Noch ein Bug im Training:

Epoch: 30 | Loss: 4.31349e+18
terminate called after throwing an instance of 'std::out_of_range'
  what():  vector<bool>::_M_range_check: __n (which is 4294967295) >= this->size() (which is 106)
Aborted (core dumped)

@felbecker
Copy link
Copy Markdown
Contributor

felbecker commented Jul 9, 2019

Stimmt. Passiert aber nicht bei allen Instanzen. Der out_of_range Fehler tritt scheinbar auf, wenn das Training divergiert. Kleinere Lernrate, sodass es sicher für alle zufällig generierten Instanzen klappt? Ansonsten prüfen, ob loss ansteigt und Training notfalls abbrechen, um den Fehler zu vermeiden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants