Traceback (most recent call last):


 "/usr/local/Cellar/aws-sam-cli/1.21.0/libexec/lib/python3.8/site-packages/aws_lambda_builders/workflows/nodejs_npm/actions.py", line 59, in execute

tarfile_name = self.subprocess_npm.run(["pack", "-q", package_path], cwd=self.scratch_dir).splitlines()[-1]


 "/usr/local/Cellar/aws-sam-cli/1.21.0/libexec/lib/python3.8/site-packages/aws_lambda_builders/workflows/nodejs_npm/npm.py", line 85, in run

raise NpmExecutionError(message=err.decode("utf8").strip())
aws_lambda_builders.workflows.nodejs_npm.npm.NpmExecutionError: NPM Failed: npm ERR! code ENOLOCAL

Traceback (most recent call last):


 "train.py", line 120, in <module>

data_transforms['train'])


 "/home/zhuda/anaconda3/lib/python3.7/site-packages/torchvision/datasets/folder.py", line 206, in __init__

is_valid_file=is_valid_file)


 "/home/zhuda/anaconda3/lib/python3.7/site-packages/torchvision/datasets/folder.py", line 94, in __init__

classes, class_to_idx = self._find_classes(self.root)


 "/home/zhuda/anaconda3/lib/python3.7/site-packages/torchvision/datasets/folder.py", line 121, in _find_classes

classes = [d.name for d in os.scandir(dir) if d.is_dir()]

NotFoundError: [Errno 2] No such file or directory: 'your_data_path/train_all'