This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import numpy as np | |
import torch | |
from torchvision import models, transforms | |
from torch.autograd import Variable | |
import torch | |
import torch.nn as nn | |
import pickle | |
import os | |
import argparse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import absolute_import | |
from __future__ import division | |
from __future__ import print_function | |
import hashlib | |
import io | |
import logging | |
import os | |
from lxml import etree |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir data | |
cd data | |
mkdir train | |
mkdir test | |
mkdir validation | |
cd train | |
mkdir roses | |
mkdir dandelion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir data | |
cd data | |
mkdir train | |
mkdir test | |
mkdir validation | |
cd train | |
mkdir roses | |
mkdir dandelion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir data | |
cd data | |
mkdir train | |
mkdir test | |
mkdir validation | |
cd train | |
mkdir roses | |
mkdir dandelion |