更新时间:2023-12-02 18:38:16
至少至少为TF 2.0(不确定您使用的版本),将多个模型加载到一个图形中可能会导致问题:请参阅
在Tensorflow中加载多个模型
At least up to TF 2.0 (not sure about the version you have), loading multiple models into one graph could cause problems: See load multiple models in Tensorflow
我希望这会有所帮助。