/home/ec2-user/anaconda3/envs/pytorch_p36/bin/python: Error while finding module specification for 'run_glue.py' (AttributeError: module 'run_glue' has no attribute '__path__')
I have tried this on my own system it didn’t give this error. Am I missing something? @lewtun
I think the problem is that you’re using the -m flag which tries to import run_glue.py as a module and then run it. Does it work if you remove the -m flag?
@NDugar I would rather recommend running your training using the HuggingFace estimator than the Notebook Instance. SageMaker will handle the management of the resources behind the scene and makes sure the training runs.