GithubHelp home page GithubHelp logo

MSVC/GCC/CLANG about styleflow HOT 17 OPEN

rameenabdal avatar rameenabdal commented on August 26, 2024
MSVC/GCC/CLANG

from styleflow.

Comments (17)

stone100010 avatar stone100010 commented on August 26, 2024 3

还有谁的问题没有解决请直接联系我,win10平台所有styleflow运行问题全部免费帮忙解决

from styleflow.

justinjohn0306 avatar justinjohn0306 commented on August 26, 2024

install Microsoft Visual STUDIO 2017 MSVC/14.10.25017
and edit custom_ops.py accordingly.
do check out my PR repo for Windows 10.

Capture

from styleflow.

chengkeng avatar chengkeng commented on August 26, 2024

install Microsoft Visual STUDIO 2017 MSVC/14.10.25017
and edit custom_ops.py accordingly.
do check out my PR repo for Windows 10.

Capture
Hi,do I need to delete VS2019? Thank

from styleflow.

justinjohn0306 avatar justinjohn0306 commented on August 26, 2024

install Microsoft Visual STUDIO 2017 MSVC/14.10.25017
and edit custom_ops.py accordingly.
do check out my PR repo for Windows 10.
Capture
Hi,do I need to delete VS2019? Thank

it's your choice but make sure to add the path to MSVS 17 on your system path and edit custom_ops.py too.

from styleflow.

chengkeng avatar chengkeng commented on August 26, 2024

install Microsoft Visual STUDIO 2017 MSVC/14.10.25017
and edit custom_ops.py accordingly.
do check out my PR repo for Windows 10.
Capture
Hi,do I need to delete VS2019? Thank

it's your choice but make sure to add the path to MSVS 17 on your system path and edit custom_ops.py too.

Screenshot 2021-01-18 234443
I have modified the path, but why is it still telling me that it cannot be found? Is there something I haven’t installed yet? Thank you!

from styleflow.

augustfr avatar augustfr commented on August 26, 2024

I've attached a few screenshots. I changed the path in my custom_ops.py file as you can see. I also verify that the path does exist. But I'm still getting the runtime error. Not sure what to do

Screen Shot 2021-01-18 at 8 04 06 AM

Screen Shot 2021-01-18 at 8 04 51 AM

Screen Shot 2021-01-18 at 8 05 03 AM

from styleflow.

justinjohn0306 avatar justinjohn0306 commented on August 26, 2024

please add MSVS 17 path to Environment variables (for user and system both)

Capture

from styleflow.

augustfr avatar augustfr commented on August 26, 2024

That has already been done, as you can see in this screenshot. Still same error

Screen Shot 2021-01-18 at 8 21 33 AM

from styleflow.

justinjohn0306 avatar justinjohn0306 commented on August 26, 2024

That has already been done, as you can see in this screenshot. Still same error

Screen Shot 2021-01-18 at 8 21 33 AM

clearly you're doing something wrong...start over. From the beginning

from styleflow.

justinjohn0306 avatar justinjohn0306 commented on August 26, 2024

did you add the path inside custom_ops.py?

That has already been done, as you can see in this screenshot. Still same error
Screen Shot 2021-01-18 at 8 21 33 AM

clearly you're doing something wrong...start over. From the beginning

from styleflow.

augustfr avatar augustfr commented on August 26, 2024

@justinjohn0306 yes I added the path. i showed a screenshot of that a few posts back. I switched over to your windows10 version but I'm having a weird issue. I made the env_windows.yml conda environment and everything, but when I run python main.py, here is the error I get:

Screen Shot 2021-01-18 at 7 58 41 PM

from styleflow.

justinjohn0306 avatar justinjohn0306 commented on August 26, 2024

@justinjohn0306 yes I added the path. i showed a screenshot of that a few posts back. I switched over to your windows10 version but I'm having a weird issue. I made the env_windows.yml conda environment and everything, but when I run python main.py, here is the error I get:

Screen Shot 2021-01-18 at 7 58 41 PM

I've updated my repo...try again from the beginning...delete the env...installs MSVC 17 -MSVC/14.10.25017

from styleflow.

augustfr avatar augustfr commented on August 26, 2024

@justinjohn0306 that fixed it. Now the only issues are that the right side of the gui is cut off. I'm on an ec2 instance so I can't change the display settings. How can I get full access to the controls on the right?

Also, the buttons that seem to be for uploading don't work or open file explorer. How can I specify a seed I want to use or anything?

from styleflow.

provostm avatar provostm commented on August 26, 2024

Also, the buttons that seem to be for uploading don't work or open file explorer. How can I specify a seed I want to use or anything?

These buttons are not implemented yet. Only the feet and the reset button are working. You can see in the ui.py script in the add_tool_buttons function that there is comment for the action of these buttons.

from styleflow.

BBHao1 avatar BBHao1 commented on August 26, 2024

/usr/local/cuda/bin/nvcc --std=c++11 -DNDEBUG "D:\workspace\StyleFlow-master\dnnlib\tflib\ops\fused_bias_act.cu" --preprocess -o "C:\Users\ADMINI1\AppData\Local\Temp\tmpdqf3c6b1\fused_bias_act_tmp.cu" --keep --keep-dir "C:\Users\ADMINI1\AppData\Local\Temp\tmpdqf3c6b1" --disable-warnings --include-path "D:\Study\Anconda\envs\tensorflow\lib\site-packages\tensorflow_core\include" --include-path "D:\Study\Anconda\envs\tensorflow\lib\site-packages\tensorflow_core\include\external\protobuf_archive\src" --include-path "D:\Study\Anconda\envs\tensorflow\lib\site-packages\tensorflow_core\include\external\com_google_absl" --include-path "D:\Study\Anconda\envs\tensorflow\lib\site-packages\tensorflow_core\include\external\eigen_archive" --compiler-bindir "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64" 2>&1

系统找不到指定的路径。

vs17我已经安装,可是依然报错??

from styleflow.

justinjohn0306 avatar justinjohn0306 commented on August 26, 2024

/usr/local/cuda/bin/nvcc --std=c++11 -DNDEBUG "D:\workspace\StyleFlow-master\dnnlib\tflib\ops\fused_bias_act.cu" --preprocess -o "C:\Users\ADMINI1\AppData\Local\Temp\tmpdqf3c6b1\fused_bias_act_tmp.cu" --keep --keep-dir "C:\Users\ADMINI1\AppData\Local\Temp\tmpdqf3c6b1" --disable-warnings --include-path "D:\Study\Anconda\envs\tensorflow\lib\site-packages\tensorflow_core\include" --include-path "D:\Study\Anconda\envs\tensorflow\lib\site-packages\tensorflow_core\include\external\protobuf_archive\src" --include-path "D:\Study\Anconda\envs\tensorflow\lib\site-packages\tensorflow_core\include\external\com_google_absl" --include-path "D:\Study\Anconda\envs\tensorflow\lib\site-packages\tensorflow_core\include\external\eigen_archive" --compiler-bindir "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64" 2>&1

系统找不到指定的路径。

vs17我已经安装,可是依然报错??

在custom_ops.py中編輯路徑時,用正斜杠(/)替換反斜杠(\)

replace backslash() with forward slash(/) when editing the path in custom_ops.py

from styleflow.

psx2 avatar psx2 commented on August 26, 2024

still doesn't work for me:

"C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64" 2>&1

The system cannot find the path specified.

from styleflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.