Skip to content

add missing mutations - #13

Merged
HyperCodec merged 11 commits into
devfrom
8-more-mutations
Feb 20, 2024
Merged

add missing mutations#13
HyperCodec merged 11 commits into
devfrom
8-more-mutations

Conversation

@HyperCodec

Copy link
Copy Markdown
Owner

No description provided.

@HyperCodecHyperCodec added the enhancement New feature or request label Feb 14, 2024
@HyperCodecHyperCodec self-assigned this Feb 14, 2024
@HyperCodecHyperCodec changed the title 8 more mutationsadd missing mutationsFeb 14, 2024
@HyperCodec

Copy link
Copy Markdown
OwnerAuthor

Now there's an index error with mutations. Probably caused by the removeneuron mutation.

@HyperCodec

HyperCodec commented Feb 14, 2024

Copy link
Copy Markdown
OwnerAuthor

also appears to have a deadlock.

@HyperCodec

Copy link
Copy Markdown
OwnerAuthor

deadlock and index are rng-based so its probably mutations causing that.

@HyperCodec

Copy link
Copy Markdown
OwnerAuthor

runnable.rs:124 and topology.rs:115 both have index errors

@HyperCodec

Copy link
Copy Markdown
OwnerAuthor

not entirely sure why runnable has index errors still if the shifting is working. deadlock still probably exists (although haven't reproduced since these changes), not sure where that happens either.

@HyperCodec

Copy link
Copy Markdown
OwnerAuthor

ok i think the runnable issue is when the last neuron of hidden layers is deleted.

previous commit did not fix the topology index issue fully btw

@HyperCodec

Copy link
Copy Markdown
OwnerAuthor

just looked at backtrace, topology index error is caused by is_connection_cyclic somehow. I still think the root cause is mutation not properly fixing the input locations, but not sure why this is happening.

@HyperCodec

Copy link
Copy Markdown
OwnerAuthor

I apparently just used the same variable name twice (oopsies). Runnable index still errors but not seeing any topology index errors.

@HyperCodec

Copy link
Copy Markdown
OwnerAuthor

Deadlock is still an issue

@HyperCodec

Copy link
Copy Markdown
OwnerAuthor

Might not actually be a deadlock, could be just infinite loop.

@HyperCodec

Copy link
Copy Markdown
OwnerAuthor

process_neuron is still running into the same cyclic connection issue, I believe this might just be caused by a conceptual flaw with it. I must be doing something wrong if it has gone through so many revisions and it still has this bug.

@HyperCodec

Copy link
Copy Markdown
OwnerAuthor

no sure how the fuck this happened but input layer is using output layer
image

@HyperCodec

Copy link
Copy Markdown
OwnerAuthor

ok so I'll restate the issues:

  1. neurons inputs keep pointing to output layer somehow, causing borrow errors
  2. neurons keep pointing to missing hidden layer locations, causing index errors.
  3. i have no clue where in mutation any of these issues occur

@HyperCodec

Copy link
Copy Markdown
OwnerAuthor

welp looks like I spent a week trying to debug a simple swapped-variable issue. glad to see that I'm using my time wisely

@HyperCodec
HyperCodec merged commit cf1dd51 into devFeb 20, 2024
@HyperCodec
HyperCodec deleted the 8-more-mutations branch February 20, 2024 17:51
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@HyperCodec