Could you please share the code where you calculate your accuracy?
As a general knowledge, you can calculate the accuracy on the training set based on your your metric defined beforehand. As an example, you can use the L1,L2 difference between two numpy arrays as a metric.