Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
PRG Admin authored and PRG Admin committed Feb 5, 2021
1 parent 6a0fb8d commit af7f904
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions scripts/attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
import torch
from torch.autograd import Variable

from TransVAE.transvae.trans_models import TransVAE
from TransVAE.transvae.rnn_models import RNN, RNNAttn
from transvae.trans_models import TransVAE
from transvae.rnn_models import RNN, RNNAttn

from TransVAE.transvae.data import vae_data_gen, make_std_mask
from TransVAE.scripts.parsers import attn_parser
from transvae.data import vae_data_gen, make_std_mask
from scripts.parsers import attn_parser

def calc_attention(args):
### Load model
Expand Down
8 changes: 4 additions & 4 deletions scripts/sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
import numpy as np
import pandas as pd

from TransVAE.transvae.trans_models import TransVAE
from TransVAE.transvae.rnn_models import RNN, RNNAttn
from TransVAE.transvae.tvae_util import calc_entropy
from TransVAE.scripts.parsers import sample_parser
from transvae.trans_models import TransVAE
from transvae.rnn_models import RNN, RNNAttn
from transvae.tvae_util import calc_entropy
from scripts.parsers import sample_parser

def sample(args):
### Load model
Expand Down
2 changes: 1 addition & 1 deletion transvae/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Format expected by setup.py and doc/source/conf.py: string of form "X.Y.Z"
_version_major = 0
_version_minor = 4
_version_micro = 2 # use '' for first of series, number for 1 and above
_version_micro = 3 # use '' for first of series, number for 1 and above
# _version_extra = 'dev1'
_version_extra = '' # Uncomment this for full releases

Expand Down

0 comments on commit af7f904

Please sign in to comment.