我正在与Keras一起使用猫品种识别并尝试使用Google Colaboratory进行GPU培训。当我在PyCharm工作时,我使用了带图像的文件夹路径:
var for = "0";
var int = "0";
var agi = "0";
$( "input" ).focusout(function(s) {
switch ($(this).attr('data-attribute')) {
case 'for':
for = $(this).val();
break;
case 'int':
int = $(this).val();
break;
case 'agi':
agi = $(this).val();
break;
}
//OR
var t = $(this).attr('data-attribute');
if (t == 'for') for = $(this).val();
else if (t == 'int') int = $(this).val();
else if (t == 'agi') agi = $(this).val();
})
我无法理解,如何将包含19500张图像的文件夹下载到Colab,而不是像Google提供的那样在笔记本中逐个加载图片。 我还在Google云端硬盘上有一个包含这些图片的文件夹,但我也不知道如何将其用作带有它的路径的完整文件夹。