Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 02 23:32

    peteschultz on m-to-n-io-overhaul

    Prints row, column, batch and i… (compare)

  • Jul 30 00:49

    peteschultz on m-to-n-io-overhaul

    PV_Init prints system name, nod… (compare)

  • Jul 27 15:14

    rae0924 on tutorial-updates

    optimized python cifar extratio… (compare)

  • Jul 26 20:46

    peteschultz on m-to-n-io-overhaul

    Updates stb_image.h and stb_ima… Image reads and writes in 16-bi… Corrects MomentumConn parameter… and 4 more (compare)

  • Jul 26 19:02

    peteschultz on tutorial-updates

    Fix -r flag if Checkpoint0 is t… Fixes std::string passed to pri… Updates LCA_Cifar.lua and 8 more (compare)

  • Jul 22 22:56

    peteschultz on develop

    FilenameParsingGroundTruthLayer… Adds jitterChangeIntervalUnit p… Overhaul of RescaleLayerTest R… (compare)

  • Jul 19 00:03

    peteschultz on m-to-n-io-overhaul

    Remove linking to libm (legacy … (compare)

  • Jul 13 18:03

    peteschultz on develop

    Only read prev_dWFrameNumber if… (compare)

  • Jul 11 20:47

    peteschultz on test-dependency

    (compare)

  • Jul 11 20:39

    peteschultz on m-to-n-io-overhaul

    Fixes ctest dependency for MPI_… ctest dependencies for non-pv_a… (compare)

  • Jul 06 21:52

    peteschultz on test-dependency

    Adds test dependencies for Shar… (compare)

  • Jul 02 01:44

    peteschultz on test-dependency

    (compare)

  • Jul 02 01:42

    peteschultz on m-to-n-io-overhaul

    Sets tolerance for PtwiseQuotie… (compare)

  • Jul 01 17:51

    peteschultz on m-to-n-io-overhaul

    One more logging bugfix. Hopefu… (compare)

  • Jun 30 23:33

    peteschultz on m-to-n-io-overhaul

    More bugfixes to printf logging (compare)

  • Jun 30 21:41

    peteschultz on m-to-n-io-overhaul

    Updates opt-report-phase option… (compare)

  • Jun 30 19:26

    peteschultz on tutorial-multiple-adapt-schemes

    (compare)

  • Jun 30 19:26

    peteschultz on tutorial-batchMethod-random

    (compare)

  • Jun 30 19:25

    peteschultz on tutorial-2022-updates

    (compare)

  • Jun 30 19:25

    peteschultz on pybind-merge-p

    (compare)

Garrett T. Kenyon
@garkenyon
hello PetaVisionaries! this is a test message to see what happens
Dylan Paiton
@dpaiton
This is a test post
testing testing
@garkenyon this is a message directed at you
Dylan Paiton
@dpaiton
@garkenyon hopefully this message gets pushed to your email
Sheng Lundquist
@slundqui
Hey all, quick question, did we get a wrapper for error messages implemented?
@riskybacon
Jeff Bowles
@riskybacon
Yep, you can use Error() << "your" << "error in layer" << getName() << std::endl;
Sheng Lundquist
@slundqui
and this takes care of checking for root mpi process, barriers, etc?
Jeff Bowles
@riskybacon
Not yet
The goal was to get something that we could start using and add that functionality moving forward, as opposed to trying to add that functionality to std::cout, fprintf and std::cerr
Sheng Lundquist
@slundqui
gotcha
error() doesn't exit the program does it?
or does it
Jeff Bowles
@riskybacon
Nope
Sheng Lundquist
@slundqui
Okay, thanks
Jeff Bowles
@riskybacon
There's Debug(), Error() and Info(). Debug() and Error() get file names and line number prepended, Info() does not.
Debug() is compiled out of Release versions. Debug() output can be added to Release versions by setting PV_DEBUG_OUTPUT to On
And... this should be a wiki entry :)
Sheng Lundquist
@slundqui
Can I make a request for one that prints out the keyword (e.g. HyPerLayer) and the layer name (e.g. myAwesomeLayer) before the error as well?
Jeff Bowles
@riskybacon
Oooo, I like that!
I keep putting Debug() << getName(). Would it make sense to add this to all Error() output?
Sheng Lundquist
@slundqui
yeah, absolutely
hard part is for the error obj to actually get the name of the class and a reference to the object
maybe have error take "this"?
Error(this) << "Oh no, error!"
Jeff Bowles
@riskybacon
We're thinking the same thing.