Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run on Google Colab #14

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update inference.py
  • Loading branch information
Parth Patel committed Aug 6, 2020
commit 7ecc9d30d4437374eed84543e66c578955fbcd6c
2 changes: 1 addition & 1 deletion inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def parse_arguments():
parser.add_argument('--imgs_folder', default='/content/test', help='Path to folder containing images', type=str)
parser.add_argument('--model_path', default='/content/drive/My Drive/Colab Notebooks/models/model_epoch-008_mae-0.1553_loss-0.3755.pth', help='Path to model', type=str)
parser.add_argument('--use_gpu', default=True, help='Whether to use GPU or not', type=bool)
parser.add_argument('--img_size', default=720, help='Image size to be used', type=int)
parser.add_argument('--img_size', default=256, help='Image size to be used', type=int)
parser.add_argument('--bs', default=24, help='Batch Size for testing', type=int)

return parser.parse_args()
Expand Down