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

Chianti TypeError in train.py l264 #29

Open
uyekt opened this issue Aug 11, 2017 · 2 comments
Open

Chianti TypeError in train.py l264 #29

uyekt opened this issue Aug 11, 2017 · 2 comments

Comments

@uyekt
Copy link

uyekt commented Aug 11, 2017

Hi there,
I'm really interested in using your network and performance does matter, that's why I installed chianti.
However I get this error:

python predict.py --architecture frrn_a --model_file models/frrn_a.npz --cs_folder ../Datasets/cityscapes_lk
Using cuDNN version 6021 on context None
Mapped name None to device cuda0: GeForce GTX 960 (0000:01:00.0)
2017-08-11 11:30:03,314 INFO Compile validation function
Traceback (most recent call last):
File "predict.py", line 84, in
main()
File "predict.py", line 63, in main
BATCH_SIZE)
File "/---/FRRN/train.py", line 264, in get_validation_provider
pychianti.Iterator.Sequential(validation_images),
TypeError: No registered converter was able to produce a C++ rvalue of type std::__cxx11::basic_string<char, std::char_traits, std::allocator > from this Python object of type str

I'm using python 2.7 in Anaconda. I have all dependencies. Boost version is 1.64. I tried different version of boost / boost-python and still got the same error. Any clue?

@TobyPDE
Copy link
Owner

TobyPDE commented Aug 11, 2017

Hm, this a weird error. It says that it cannot produce a C++ string from a Python string, which is something it should be able to do. I'll have a closer look on Sunday. Thanks for reporting this.

@uyekt
Copy link
Author

uyekt commented Aug 13, 2017

@TobyPDE did you had time to took a look, where it could come from?

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

2 participants