Skip to content
#

unet

Here are 372 public repositories matching this topic...

captainst
captainst commented Oct 15, 2019

In file binary segmentation (camvid).ipynb, block 5, there is:

# Lets look at data we have
dataset = Dataset(x_train_dir, y_train_dir, classes=['car', 'pedestrian'])
image, mask = dataset[5] # get some sample
visualize(
    image=image, 
    cars_mask=mask[..., 0].squeeze(),
    sky_mask=mask[..., 1].squeeze(),
    background_mask=mask[..., 2].squeeze(),
)

here, sky_mask

jaffe-fly
jaffe-fly commented Apr 23, 2020

如果设置
cfg.NUM_TRAINERS = 4
cfg.TRAINER_ID = 0,1,2,3
if self.shuffle and cfg.NUM_TRAINERS > 1: np.random.RandomState(self.shuffle_seed).shuffle(self.all_lines) num_lines = len(self.all_lines) // cfg.NUM_TRAINERS self.lines = self.all_lines[num_lines * cfg.TRAINER_ID: num_lines * (cfg.TRAINER_ID + 1)] self.shuffle_seed += 1
上面代码中的self.

Improve this page

Add a description, image, and links to the unet topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the unet topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.