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 a directory: './trained/CHOGRGB4.pkl' #2

Open
molyswu opened this issue Aug 30, 2017 · 2 comments
Open

Not a directory: './trained/CHOGRGB4.pkl' #2

molyswu opened this issue Aug 30, 2017 · 2 comments

Comments

@molyswu
Copy link

molyswu commented Aug 30, 2017

Hi,
python3 P5pipeline.py test_images/test1.jpg output_images/test1.jpg

Camera Calibration data restored from camera_cal/calibrationdata.p
Traceback (most recent call last):
File "P5pipeline.py", line 218, in
roadMgr = RoadManager(camCal, debug=debug, scrType=scrType)
File "/mnt/hgfs/study/123/Vehicle-Detection/SDC-P5/p5lib/roadManager.py", line 130, in init
self.threshold)
File "/mnt/hgfs/study/123/Vehicle-Detection/SDC-P5/p5lib/vehicleDetection.py", line 44, in init
self.svc = joblib.load(self.trained_model)
File "/usr/local/lib/python3.5/dist-packages/sklearn/externals/joblib/numpy_pickle.py", line 570, in load
with open(filename, 'rb') as f:
NotADirectoryError: [Errno 20] Not a directory: './trained/CHOGRGB4.pkl'
Tank you!

@diyjac
Copy link
Owner

diyjac commented Jan 8, 2018

Hi molyswu,

Can you verify that the symbolic link to the trained directory under https://github.com/diyjac/SDC-P5/blob/master/trained points to https://github.com/diyjac/SDC-P5/tree/master/vehicleLab/trained in your set up? Cheers, John.

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

3 participants
@molyswu @diyjac and others