Skip to content
Permalink
Browse files

Use softlink to data path.

  • Loading branch information
lijunzh committed Nov 4, 2019
1 parent 41b6e64 commit a3653f9d29cbeb257bdc28019ab7fbba365dec94
Showing with 1 addition and 2 deletions.
  1. +1 −2 examples/train_cnn.py
@@ -4,7 +4,6 @@
from torch.utils.data import DataLoader
from torch.utils.data import random_split
from torch.utils.data import Subset

from yews import Dataset
from yews import models
from yews import transforms
@@ -126,7 +125,7 @@ def forward(self, x):
])

# Dataset
dset = Dataset(path='/data/ok',
dset = Dataset(path='data/ok',
sample_transform=waveform_transform,
target_transform=target_transform)
train_length = int(len(dset) * 0.8)

0 comments on commit a3653f9

Please sign in to comment.
You can’t perform that action at this time.