PJ-cs / DistanceEstimationTracking

This repository contains the source code of the paper: Distance Estimation and Animal Tracking for Wildlife Camera Trapping, Peter Johanns, Timm Haucke, Volker Steinhage
MIT License
12 stars 1 forks source link

ImportError: libcublas.so.10.0 #2

Closed olliewearn closed 2 years ago

olliewearn commented 2 years ago

Hi, just trying to run a test on my own video (i.e. set of png image files). I uploaded to Images/OcelotTest, changed the 2 variables you mention and ran all code blocks. I get the below error. Not sure how to proceed. Thanks

ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
[<ipython-input-4-4d56a15e54fb>](https://localhost:8080/#) in <module>
    173 print(f"3: Calculating Detections, saving crops to {crops_temp_folder}...")
    174 get_ipython().system(' conda run -n megadetector bash -c \'PYTHONPATH="$PYTHONPATH:CameraTraps:ai4eutils" python CameraTraps/detection/run_detector_batch.py CameraTraps/detection/megadetector_v4_1_0.pb Images detections.json --recursive\'')
--> 175 with open("detections.json") as f:
    176   detections = json.load(f)
    177 detections_by_image_path = {

FileNotFoundError: [Errno 2] No such file or directory: 'detections.json'
timmh commented 2 years ago

@olliewearn Thanks for reporting, this should now be fixed.