https://github.com/ChrisWu1997/2D-Motion-Retargeting
Tip revision: 78e67f311066b8b70d7d9ac98eda8c8b254bffe5 authored by dependabot[bot] on 12 October 2021, 22:56:49 UTC
Bump opencv-python from 3.4.4.19 to 4.2.0.32
Bump opencv-python from 3.4.4.19 to 4.2.0.32
Tip revision: 78e67f3
__init__.py
from agent.agents import Agent2x, Agent3x
def get_training_agent(config, net):
assert config.name is not None
if config.name == 'skeleton' or config.name == 'view':
return Agent2x(config, net)
else:
return Agent3x(config, net)
