HomeTroubleshootingNeuralTools"This key is already associated with an element of this collection"

11.2. "This key is already associated with an element of this collection"

Applies to:
NeuralTools 6.x/7.x
StatTools 6.x/7.x

When I try to run Data Set Manager or train my network, I get the error message

This key is already associated with an element of this collection

There are a number of hidden worksheets in your workbook, and they are confusing NeuralTools. To resolve this, make the worksheets visible and delete them:

  1. Right-click on any worksheet tab at the bottom of the Excel window, and select Unhide. Choose any worksheet in the list that appears.
  2. When that worksheet becomes visible, right-click its tab, select Delete, and answer Delete to the confirming prompt.
  3. Repeat until there are no more hidden worksheets.
  4. Save the file under a new name. Close Excel, reopen NeuralTools or StatTools, and open the newly saved file.

You can then open Data Set Manager, re-establish the data set, and perform your training or analysis.

Last edited: 2017-02-15

This page was: Helpful | Not Helpful