Skip to content

[DOC]: dfp-models in training-tuning-scripts does not have an environment.yml or requirements.txt #1226

Closed

Description

How would you describe the priority of this documentation request

medium

Describe the future/missing documentation

https://github.com/nv-morpheus/Morpheus/tree/branch-23.11/models/training-tuning-scripts/dfp-models

The other folders like fraud-detection-models does have one as do the other folders

And I look at the first cell:

import os
import glob

import dill
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from sklearn.metrics import confusion_matrix
from sklearn.metrics import f1_score
import torch

from morpheus.models.dfencoder import AutoEncoder
from morpheus.utils.seed import manual_seed

I have the dev container launched in VSCode and tried to run that first cell with the default morpheus environnment that is activated but of course I frist get module dill not found. Then doing conda list I don't see torch nor sklearn.

Then looking down further in that hammah-20211017.ipynb , I see a cell

# uncomment to train on other "role-g" instead of "user123"

# TRAINING_DATA_PATH = "../datasets/training-data/hammah-role-g-training-data.csv"
# VAL_DATA_PATH = "../datasets/validation-data/hammah-role-g-validation-data.csv"
# OUTPUT_MODEL_NAME = "hammah-role-g-20211017.pkl

I've run the script that downloads all the models and examples but don't see any role-g files at all so please advise.

Where have you looked?

See above.

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I have searched the open documentation issues and have found no duplicates for this bug report
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Needs TriageNeed team to review and classifydocImprovements or additions to documentationexternalThis issue was filed by someone outside of the Morpheus team

Type

No type

Projects

  • Status

    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions