Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Missing map_node_id in GNN Fraud Detection training notebook #1265

Closed
2 tasks done
efajardo-nv opened this issue Oct 13, 2023 · 0 comments · Fixed by #1450
Closed
2 tasks done

[BUG]: Missing map_node_id in GNN Fraud Detection training notebook #1265

efajardo-nv opened this issue Oct 13, 2023 · 0 comments · Fixed by #1450
Labels
bug Something isn't working

Comments

@efajardo-nv
Copy link
Contributor

efajardo-nv commented Oct 13, 2023

Version

23.11

Which installation method(s) does this occur on?

Docker

Describe the bug.

An ImportError occurs in the first cell of the GNN Fraud Detection training notebook because map_node_id does not exist in training.py.

Minimum reproducible example

  1. cd to models/training-tuning-scripts/fraud-detection-models

  2. Create or update conda environment with required dependencies:

Create new environment:

conda env create -f ./requirements.yml -n fraud-detection
conda activate fraud-detection

Update existing environment:

conda env update -f ./requirements.yml
  1. Start JupyterLab

  2. Open and run gnn-fraud-detection-training.ipynb

Relevant log output

Click here to see error details

ImportError Traceback (most recent call last)
Cell In[1], line 23
21 from tqdm import trange
22 from xgboost import XGBClassifier
---> 23 from training import (get_metrics, evaluate, init_loaders, build_fsi_graph,
24 map_node_id, prepare_data, save_model, train)

ImportError: cannot import name 'map_node_id' from 'training' (/workspace/models/training-tuning-scripts/fraud-detection-models/training.py)

Full env printout

No response

Other/Misc.

No response

Code of Conduct

  • I agree to follow Morpheus' Code of Conduct
  • I have searched the open bugs and have found no duplicates for this bug report
@efajardo-nv efajardo-nv added the bug Something isn't working label Oct 13, 2023
@jarmak-nv jarmak-nv moved this from Todo to Review - Ready for Review in Morpheus Boards Jan 2, 2024
rapids-bot bot pushed a commit that referenced this issue Jan 17, 2024
- Add notebook fixes from @tzemicheal
- Migrate remaining pandas code to cudf

Closes #1265 

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Eli Fajardo (https://github.com/efajardo-nv)

Approvers:
  - Tad ZeMicheal (https://github.com/tzemicheal)

URL: #1450
@github-project-automation github-project-automation bot moved this from Review - Ready for Review to Done in Morpheus Boards Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant