update Actor6
This commit is contained in:
1 parent
dac314c9a5
commit
e9b2b238b2
35 files changed
+1226
-697
No files matched your search
@@ -14,8 +14,6 @@ sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')
|
||||
|
||||
from src.config import config as opt
|
||||
from src.config import update_config
|
||||
from src.datasets import create_dataset
|
||||
from src.models import create_model, calculate_model_params
|
||||
|
||||
from common.logger import Logger
|
||||
|
||||
@@ -64,7 +62,7 @@ if __name__ == '__main__':
|
||||
# cond shape = torch.Size([20, 35, 16, 1024]), batch_otput shape = (20, 35, 5023, 3)
|
||||
|
||||
torch.onnx.export(
|
||||
netG.module, # model being run
|
||||
netG, # model being run, netG.module,
|
||||
batch_input,
|
||||
str(path_onnx),
|
||||
export_params=True,
|
||||
|
||||
Reference in new issue
Block a user