Jaykumaran R
Jaykumaran R
For list device not found ,under utils->general.py change line 903 as prediction = prediction[0][1] for yolov9-c.pt or yolov9-e.pt. However for yolov9-c-converted you can run repo without any change
For list device not found ,under utils->general.py change line 903 as `prediction = prediction[0][1]` for yolov9-c.pt or yolov9-e.pt. However for yolov9-c-converted you can run repo without any change
 Facing new error.Can anyone give a link of your project where this is implemented successfully.
@Wildshire ,Thanks i found reason for my error,I was using HuggingFacePipeline from langchain instead of HuggingFacePipelineCompatible from nemoguardrails.. I hereby attach steps i followed with @Wildshire guidance to successfully work...
https://github.com/Jaykumaran/NemoGuardrails/tree/main my implementations with reference from https://blog.marvik.ai/2023/10/09/enhancing-llama2-conversations-with-nemo-guardrails-a-practical-guide/ https://github.com/NVIDIA/NeMo-Guardrails/blob/develop/docs/user_guides/guardrails-library.md https://github.com/NVIDIA/NeMo-Guardrails/blob/develop/nemoguardrails/library/hallucination/actions.py