flownet2-tf icon indicating copy to clipboard operation
flownet2-tf copied to clipboard

from ..dataloader import load_batch ValueError: Attempted relative import in non-package

Open xue1liu2 opened this issue 7 years ago • 1 comments

from ..dataloader import load_batch ValueError: Attempted relative import in non-package

When I try to train the model, the question is Attempted relative import in non-package

xue1liu2 avatar Sep 07 '17 06:09 xue1liu2

@xue1liu2 Try to open the terminal in the home directory of the master, and input : python -m src.flownet2.train
according to README.

yinjunbo avatar Nov 25 '17 06:11 yinjunbo