-
Notifications
You must be signed in to change notification settings - Fork 163
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
A few problems to notice when installing #60
Comments
I also get the camke fail but couldnt solve it with the commenting out solution. (on linux) |
I'll make a few remarks about my situation. I'm on Win11, with a poor AMD RX 640 graphics card, used Scoop to install Miniconda3, and noticed red error lines when processing the |
In your situation, I will first check if this problem arises from |
Thanks! I have little experience doing this, but also like to plat with Words-As-Image.. |
Actually I also have little experience with neural networks. I'm now puzzled with training issues now. haha |
I meant with installing, configuring and such... :) |
same question |
You can try Install/update 'build-essential' |
I spent days and nights to complete the diffvg compilation on Windows. If anyone wants the wheels, you can contact me +V13862010554. Let's create a group to communicate and exchange about the improvements based on the module together. |
Recently I decided to play with Word-As-Image, which depends on diffvg project. I pulled the repo and tried to follow the
python setup.py install
instruction, but encounters a few problems. I list them below, for developers to consult with.LIBDIR
config variable. I'm using a Miniconda3 / python 3.8 environment, and not sure if the absence of it is abnormal, but I found another variable calledLIBDEST
, and replaced the former one.I located the error in
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
in setup.py, but first assumed that this is caused by not using CUDA. I rewrote some lines in setup.py, in vain. Then I assumed some cmake config error and looked at the cmake prompts, no use. The final solution lies in the error messageand I commented out the
inline double log2(double x) { .. }
function in diffvg.h. It works.3. diffvg import error. I found some reference to it here, and solved it with #12 (comment) .
The text was updated successfully, but these errors were encountered: