Closed manmeet3591 closed 2 years ago
only prediction over a test data
In this line, change ['train', 'val', 'test']
to ['test']
save the output in a csv file
Could you clarify what you mean by csv in this context? The prediction
variable in the line mentioned above is just a dictionary dict[str, numpy.ndarray]
, so you can take access the numpy array like prediction['test']
.
Thank you. Also, the following line
lib.dump_predictions(predictions, output)
seems to save the outputs. What is the path where this goes ?
The path is output / 'predictions.npz'
(see this for details). You can print output
to see the content of this variable.
Thank you
How can I perform only prediction over a test data and save the output in a csv file ? Sorry if this is too basic a question.