Skip to content

Commit

Permalink
update train resnet script
Browse files Browse the repository at this point in the history
  • Loading branch information
WZMIAOMIAO committed Nov 15, 2020
1 parent fa4ded9 commit a2e1473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_classification/Test5_resnet/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def main():
transforms.CenterCrop(224),
transforms.ToTensor(),
transforms.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225])])}

data_root = os.path.abspath(os.path.join(os.getcwd(), "../..")) # get data root path
image_path = data_root + "/data_set/flower_data/" # flower data set path

Expand Down

0 comments on commit a2e1473

Please sign in to comment.