-
Notifications
You must be signed in to change notification settings - Fork 100
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
AttributeError: 'str' object has no attribute 'write' #6
Comments
thanks so much! this helped me a lot! |
after using the new write function,I encounter another problem. i try to run the demo
the error is that
i try to fix it by changing "with open(fp, 'w') as fw:" into “with open(fp, 'w', encoding) as fw:”
the error is that
|
@tianyilt 请问你是否解决了这个问题,能告诉我一下解决方法吗 |
binvox_rw io in decor-gan plays well and you can refer to this repository. @zougougou
|
Hi,
I modified some codes in 'write' of binvox_rw.py to resolve the error - 'AttributeError: 'str' object has no attribute 'write' , when executing the command - model.write('dilated.binvox').
Hope it helps.
def write(voxel_model, fp):
""" Write binary binvox format.
The text was updated successfully, but these errors were encountered: