Comments (4)
@shaheenkdr — before I continue, I'll be sending a change shortly which automatically downloads and installs cereal headers for you when you build flashlight, so if you're still having trouble, that change should be in pretty soon.
The process for building and installing cereal headers is as follows:
- Clone cereal, and switch to the
develop
branch:
git clone https://github.com/USCiLab/cereal.git && cd cereal
git checkout develop
- Build and install the headers:
mkdir -p build && cd build
cmake .. -DJUST_INSTALL_CEREAL=ON
make -j4
- Actually move the headers to the install directory:
sudo make install -j4
When you build flashlight, it should properly find those headers.
from flashlight.
@shaheenkdr — have you installed cereal headers? See #9 and the build requirements.
from flashlight.
@jacobkahn Thanks for the quick response, been struggling here for quite few days as I come from a non c/cpp environment. I read the issue #9 prior to opening this issue.
Quoting from Cereal's install directory,
" cereal can be directly included in your project or installed anywhere you can access header files. Grab the latest version from Github or use the download links above, then drop the cereal folder from the include directory (cereal_base_dir/include/cereal) somewhere your project can find. There’s nothing to build or make - cereal is header only. "
When you say have you installed cereal headers?
, Did you intend to say have I copied the headers to where the project can find ? If that's what you meant, I tried downloading the library, the develop
branch and tried moving it to /home/flashlight/flashlight/common/
, Let me know if I have to do anything contrary to that?
from flashlight.
@jacobkahn Thanks a ton, that resolved the issue 👍 , however, build now produces another set of issues, I probably should close this issue and open another
from flashlight.
Related Issues (20)
- Mnist.cpp doesn't catch exceptions
- Mnist.cpp aborts in OneDnnTensor::flatten() because of FL_ONEDNN_TENSOR_UNIMPLEMENTED HOT 4
- Are there any working examples of training? HOT 2
- Wrong link to The bindings/python/README.md
- Training with continue and fork mode terminated due to unhandled system error
- [RocM] Extend support to RocM HOT 1
- Typo in fl_asr_train example parameter HOT 1
- Add Module and Container deep copy/cloning
- flashlight allocate memory on every gpu even when only using one in multigpu setup HOT 3
- terminate called after throwing an instance of 'std::invalid_argument' HOT 1
- Google Colab Fails to Launch HOT 1
- Help Installing HOT 5
- flashlight crashes under UHD opencl HOT 1
- Flashlight on Raspberry Pi with Ubuntu
- Transpose Implementation improvement for oneDNN backend
- Fixing Typos in autograd.rst file
- APP BUILD ISSUE HOT 7
- FL Applications
- Transpose2D not included?
- fl_asr_train with ASG criterion fails
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 flashlight.