Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Score Layer Sizing in Net.evalbatch function #166

Open
winstrom opened this issue Aug 14, 2017 · 0 comments
Open

Score Layer Sizing in Net.evalbatch function #166

winstrom opened this issue Aug 14, 2017 · 0 comments

Comments

@winstrom
Copy link

Hi,

I am running into some array dimension mismatches in the Net.evalbatch function due to a change in the code. Currently, the master branch has:

	val scores = zeros(score_layers.length, batchSize);
	for (i <- 0 until score_layers.length) {
		scores(i,?) = score_layers(i).score;
	}

which has given the scores matrix a vector for each layer rather than a scalar for each layer.

Previously, each score layer only had a scalar score available:

	val scores = zeros(score_layers.length, 1);
	for (i <- 0 until score_layers.length) {
		scores(i) = score_layers(i).score.v;
	}

Is there a reason that this has changed? It certainly seems to be making e.g. the GLM layer break when used as an output layer.

Change happened here:
1ff00a9

Cheers,

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

No branches or pull requests

1 participant