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

Not sure if it ran successfully #2

Open
maksteel opened this issue May 27, 2020 · 0 comments
Open

Not sure if it ran successfully #2

maksteel opened this issue May 27, 2020 · 0 comments

Comments

@maksteel
Copy link

os.system(("./darknet detector test ../obj.data ../yolo-obj.cfg ../yolo-obj_last.weights -ext_output < generate.txt > predictions.txt"))

While running this on my local EDF file it failed to find ../yolo-obj.cfg file

$ python yolo4apnea.py Traces.edf 
Generated images
Running YOLO on signal. This may take a long time depending on GPU/CPU and length of recording
 CUDA-version: 10000 (10010), cuDNN: 7.6.4, CUDNN_HALF=1, GPU count: 8  
 OpenCV isn't used - data augmentation will be slow 
Couldn't open file: ../yolo-obj.cfg
Done
Traceback (most recent call last):
  File "yolo4apnea.py", line 572, in <module>
    replay=replay, compare=args.compare, display=args.display, plot_comp=args.plot_comparisons)
  File "yolo4apnea.py", line 488, in predict_edf
    predictions = predictions[predictions.CONFIDENCE >= threshold]
  File "/home/mkukreja/.pyenv/versions/anaconda3-2019.10/envs/Yolo4Apnea/lib/python3.7/site-packages/pandas/core/generic.py", line 5274, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'CONFIDENCE'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant