(model)
| 44 | |
| 45 | |
| 46 | def get_abs_model(model): |
| 47 | if model.startswith("paddlerec."): |
| 48 | dir = envs.paddlerec_adapter(model) |
| 49 | path = os.path.join(dir, "config.yaml") |
| 50 | else: |
| 51 | if not os.path.isfile(model): |
| 52 | raise IOError("model config: {} invalid".format(model)) |
| 53 | path = model |
| 54 | return path |
| 55 | |
| 56 | |
| 57 | def get_all_inters_from_yaml(file, filters): |
no outgoing calls
no test coverage detected