Comments (25)
Hi,I would like to work on this issue.Thanks.
from examples.
Nice, let me know if you need any help.
from examples.
@zoq I went through the travis.yml file in the mlpack repo. What I observed is that the file would be mostly same for this repo right?
from examples.
Yes, we can remove the python part and the step for running the tests.
from examples.
So for the python part if i'm not wrong wrong the env: part of the code as well as the code which checks pip2 and pip3 are installed wont be needed right?
Also for the test part is this the code you are referring to?
install:
- mkdir build && cd build && cmake -DDEBUG=OFF -DPROFILE=OFF .. && make -j
from examples.
You are right about the python part, the test part is:
script:
- CTEST_OUTPUT_ON_FAILURE=1 travis_wait 30 ctest -j2
from examples.
As suggested by you I removed those part of code from the file.But when i'm running the travis CI,my build is failing.
Here's the error which it is showing:
The command "mkdir build && cd build && cmake $CMAKE_OPTIONS .. && make -j2" failed and exited with 1 during .
from examples.
How does the travis file look like? Can you open a PR?
from examples.
I have created a PR.I will squash the commits at the end once my code runs correctly.
from examples.
My travis.yml build is successful now.Should I squash all the commits and send a PR?
from examples.
@zoq I'm thinking of integrating appveyor CI.If i'm not wrong the test script wont be needed right?
from examples.
I had one doubt. I cant seem to figure out in which line is the make command getting executed in appveyor.yml file
from examples.
configure/cmake step:
https://github.com/mlpack/mlpack/blob/0e14562937fbbe3fba007d93e251d07496e7dced/.appveyor.yml#L36
build/make step:
https://github.com/mlpack/mlpack/blob/0e14562937fbbe3fba007d93e251d07496e7dced/.appveyor.yml#L37
from examples.
You are right the test step isn't needed.
from examples.
so what does line 38 and 39 do?( - 7z a mlpack-windows-no-libs.zip "%APPVEYOR_BUILD_FOLDER%\build\Release*.exe")
from examples.
Line 38 and 39 creates an archive that contains the library and or executables.
from examples.
So basically i will be building both mlpack and model repo. And that archive would be needed to be created for both the libraries right?
from examples.
I think we don't have to create an archive for the models repo.
from examples.
ohh i see.Thank you
from examples.
I guess I need a little help.In the final step for cmake for the models repository,an error pops up saying that CmakeList.txt is not present even though it is.
cd`C:\projects\models && mkdir build && cd build
cmake -G "Visual Studio 14 2015 Win64" -DBLAS_LIBRARY:FILEPATH="%APPVEYOR_BUILD_FOLDER%/OpenBLAS.0.2.14.1/lib/native/lib/x64/libopenblas.dll.a" -DLAPACK_LIBRARY:FILEPATH="%APPVEYOR_BUILD_FOLDER%/mlpack/OpenBLAS.0.2.14.1/lib/native/lib/x64/libopenblas.dll.a" -DARMADILLO_INCLUDE_DIR="%APPVEYOR_BUILD_FOLDER%/armadillo-7.800.2/include" -DARMADILLO_LIBRARY:FILEPATH="C:\projects\models\armadillo-7.800.2\build\Debug\armadillo.lib" -DBOOST_INCLUDEDIR:PATH="C:\projects\models\boost.1.60.0.0\lib\native\include"
CMake Error: The source directory "C:/projects/models/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Here's the error which is coming.
from examples.
CMake Error: The source directory "C:/projects/models/build" does not appear to contain CMakeLists.txt.
Are you sure you are using the correct path, C:/projects/models
is the one that has the CMake file.
from examples.
Yeah I guessed that too but where I'm getting confused is that for building mlpack repo, similar code has been written and there no error is there so why is it showing an error when i'm using almost same code to build the model repo?
Here's the appveyor file which i have written: https://github.com/yashsharan/models/blob/master/.appveyor.yml
from examples.
Not sure what the issue is, you could open a PR, or I guess another idea is to check the output with some dir, cat
commands.
from examples.
I will open a PR first then. Also will writing cmake .. -G instead of cmake -G work ,like we compile it in linux?
from examples.
yes, this should work.
from examples.
Related Issues (20)
- Guidelines for adding new examples HOT 12
- Fix lstm_stock_prediction dataset location HOT 3
- `mnist_batch_norm` fails with incorrect matrix multiply size HOT 7
- Problem in shebang line in "download_data_set.py" HOT 2
- Bug in RNN HOT 1
- exception: std::logic_error HOT 18
- Changing CNN weights HOT 3
- DBSCAN example datasets? HOT 3
- Put examples in folder by language HOT 14
- MNIST dataset HOT 1
- Exception in mnist_cnn.cpp HOT 5
- it is solved! HOT 1
- Set up CI workflow on Jenkins HOT 1
- Target class out of range when compiling and running mnist examples HOT 4
- Mlpack tutorials on NLP related projects HOT 3
- MNIST simple example fails training against mlpack 3.4.2 on Windows/MSVC Visual Studio 17 latest HOT 3
- Error compiling : RNN class : expected a type, got MeanSquaredError HOT 2
- mnist_vae adaptation with mlpack 4 or above version HOT 1
- error in setting mlpack local environment for jupyter HOT 8
- Proposal for Adding New Examples to mlpack's Example Zoo HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from examples.