Hi, I have a trained model on my EC2 instance and i’ve saved the predictions we get on running model_name.test, which basically is the output of model.predict_generator(), over the test data as preds.dat.
Now if i want to transfer this to my local machine from AWS, how am i to go about that?
I tried using scp but it gives me the following error:
scp: /home/ubuntu/nbs/Notebooks/Weights/Predictions/preds.dat: not a regular file
Can someone tell me how to transfer it?
Another option i see is to use a different extension other than dat but i’m not sure which one would work.
EDIT: The scp command used:
scp -i .ssh/aws-key-fast-ai.pem email@example.com:~/nbs/Notebooks/Weights/Predictions/test_preds_rms.dat ~/test_preds_rms.dat
It worked perfectly for .csv .h5 and .ipynb files just gave error on .dat files
Thanks in advance