Giter VIP home page Giter VIP logo

Comments (4)

StrikerRUS avatar StrikerRUS commented on June 4, 2024

@scolemann Hhhm, it's very strange, because

  1. Windows can resolve the filename without .exe,
  2. we have tests on Windows which works well.

Anyway, thanks for your information! Can you please also provide the version of Windows you are using?

from rgf.

scolemann avatar scolemann commented on June 4, 2024

@StrikerRUS
OS: Windows 10 Pro
Version: 10.0.17134 Build 17134

I walked through the code and the file not found Exception occurred on line 189:
os.chmod(path_train, os.stat(path_train).st_mode | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH)

If you call an exe, you can exclude the ".exe", but my assumption is that since we are performing an operation on a file we need the entire filename including extension.

While I have you, I also had another issue with FastRGF. Is it expected that we should have MinGW installed to run it? I had to install MSYS2 with the correct toolchain and then add the bin directory to my path.

from rgf.

scolemann avatar scolemann commented on June 4, 2024

@StrikerRUS

I was in error. Since the Exception is passed, it's not an issue. I think in my troubleshooting of other issues (I had to create the .rgfrc file to get FastRGF to work) I thought this was an issue as I was debugging.

from rgf.

StrikerRUS avatar StrikerRUS commented on June 4, 2024

I walked through the code and the file not found Exception occurred on line 189:
os.chmod(path_train, os.stat(path_train).st_mode | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH)

If you call an exe, you can exclude the ".exe", but my assumption is that since we are performing an operation on a file we need the entire filename including extension.

Oh, it makes things clearer!
Thank you very much for debugging! Great catch! I'll fix this soon.

Is it expected that we should have MinGW installed to run it?

I thought that MinGW is needed only in case of building from sources. Please, note that MinGW-w64 with POSIX threads is needed, not ordinary MinGW.

from rgf.

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.