Related Discussion: nyunAI/nyuntam-vision#20 (comment)
In the create_from_dict()
method in nyuntam/factory.py
, the caller iterating over cls always throws an error. But if we do something like:
cls = get_factories(task, job_service)
if(cls[0]):
return cls[0](args)
else:
raise Exception("Factory instance could not be created.")
This can be done because cls only has a single element. Also, it works locally.
cc @Akash-guna @Arnav0400