The Wayback Machine - https://web.archive.org/web/20200716110945/https://github.com/topics/unet
Skip to content
#

unet

Here are 385 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

James-Frowen
James-Frowen commented Mar 20, 2020

Please explain the suggested feature in detail.

Being able to use Server outside of NetworkBehaviour will make it quicker to create Server only methods. The currently you have to add a manual check for NetworkServer.active.

[Server] causes Weaver to add the following code at the start of methods, which does not depend on NetworkBehaviour.

if (!NetworkServer.active)
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.