/home/lab226/Desktop/mocogan-hong/models.py:147: UserWarning: nn.init.xavier_uniform is now deprecated in favor of nn.init.xavieruniform.
init.xavieruniform(params)
/home/lab226/Desktop/mocogan-hong/models.py:157: UserWarning: nn.init.constant is now deprecated in favor of nn.init.constant.
init.constant(params, 0)
!!!!!!!!!!!!!!!!!!
-12
Traceback (most recent call last):
File "train.py", line 211, in
real_videos = random_choice()
File "train.py", line 79, in random_choice
video = torch.Tensor(trim(video))
File "train.py", line 63, in trim
start = np.random.randint(0, video.shape[1] - (T+1))
File "mtrand.pyx", line 992, in mtrand.RandomState.randint
ValueError: Range cannot be empty (low >= high) unless no samples are taken
can any one help me?thx~
/home/lab226/Desktop/mocogan-hong/models.py:147: UserWarning: nn.init.xavier_uniform is now deprecated in favor of nn.init.xavieruniform. init.xavieruniform(params) /home/lab226/Desktop/mocogan-hong/models.py:157: UserWarning: nn.init.constant is now deprecated in favor of nn.init.constant. init.constant(params, 0) !!!!!!!!!!!!!!!!!! -12 Traceback (most recent call last): File "train.py", line 211, in
real_videos = random_choice()
File "train.py", line 79, in random_choice
video = torch.Tensor(trim(video))
File "train.py", line 63, in trim
start = np.random.randint(0, video.shape[1] - (T+1))
File "mtrand.pyx", line 992, in mtrand.RandomState.randint
ValueError: Range cannot be empty (low >= high) unless no samples are taken
can any one help me?thx~