Commit graph

30 commits

Author SHA1 Message Date
Candice Bentéjac
081d38f78d Stop using bare except statements 2025-04-28 17:28:10 +02:00
Fabien Castan
db8fd02aeb New plugins load
MESHROOM_PLUGINS_PATH can be used to automatically load nodes and
pipelines from a folder structure.
2025-04-13 13:09:24 +02:00
Fabien Castan
2f08448310 Rely on the nodeDesc MrNodeType 2025-03-26 11:36:39 +00:00
Fabien Castan
eb9df4c900 Explicit meshroom node type in status file
Avoid an ambiguous LOCAL_ISOLATED, as a process can be extern and using
an isolated execution environement.
2025-03-25 12:28:22 +01:00
Fabien Castan
727a4d129b New notion of local isolated computation for python nodes using meshroom_compute
Reoganization
- BaseNode: is the base class for all nodes
- Node: is now dedicated to python nodes, with the implentation directly
in the process function
- CommandLineNode: dedicated to generate and run external command lines
2025-03-24 17:59:19 +01:00
Fabien Castan
ad1d97f202 [bin] meshroom_compute: verbosity
- add option to control verbosity
- in extern mode: disable logging and enable it only for the node
computation (to avoid polluting the node's log with general warnings)
2025-03-24 00:07:57 +01:00
Fabien Castan
c4f64d718d [bin] Ensure that meshroom_compute could be launched without any environment configuration 2025-03-24 00:07:56 +01:00
Fabien Castan
0e90915a82 [bin] compute: preprocess/postprocess calls are missing 2024-07-18 20:06:11 +02:00
Vincent Demoulin
a6be4e4938 Create Init functions for nodes, submitters and pipelines 2024-07-05 15:46:58 +02:00
Fabien Castan
ae0c65f563 [core] do not use the task manager in batch command line tools
Avoid usage of multi-threading to launch the computation in command line
tools without interactive needs
2021-10-19 15:48:07 +02:00
Fabien Castan
69e9495d63 [bin] compute: No warning if we are computing as EXTERN and the node is SUBMITTED 2020-09-04 19:53:06 +02:00
Julien-Haudegond
201ab0b5fb [bin] replace the executeGraph method by a task manager 2020-08-27 11:49:24 +02:00
Yann Lanthony
b147788e5c [bin] use sys.exit + build meshroom_compute executable
* cx_Freeze removes builtin 'exit' function, use sys.exit in executables instead
* build: generate an executable for "meshroom_compute"
2019-02-27 15:00:43 +01:00
Yann Lanthony
b8730324c7 [setup] add 'setupEnvironment' for setting-up standalone configuration
* setup environment vars to work in a prebuilt, standalone configuration
* call 'setupEnvironment' at the beginning of executables
2018-08-03 17:24:04 +02:00
Yann Lanthony
1f675a0e42 [core] split graph.py into separate modules
core.graph is now splitted into: 
  * graph.py
  * node.py
  * attribute.py
2018-06-26 12:19:14 +02:00
Yann Lanthony
49c3491534 [graph] expose NodeChunks log files as properties 2017-12-28 21:26:26 +01:00
Yann Lanthony
4d25661532 [bin] remove unused import + unify line endings 2017-11-24 16:11:38 +01:00
Fabien Castan
c488d73551 [core] split status and execMode (LOCAL/EXTERN) 2017-11-23 20:58:52 +01:00
Fabien Castan
e3815f74c7 [core] check RUNNING status in chunk compute function and add option to force computation 2017-11-21 12:24:16 +01:00
Fabien Castan
c6cdc229dc [bin] compute: fix "--toNode" option 2017-11-14 18:17:34 +01:00
Fabien Castan
bc81e50426 [bin] compute: put a message if the node is already computed 2017-11-10 19:32:50 +01:00
Fabien Castan
0ab38695b2 [bin] compute: do not exit if the status is not correct 2017-11-10 11:33:23 +01:00
Fabien Castan
4372863a2c [bin] compute: use findNode to support node expression 2017-11-08 17:51:23 +01:00
Fabien Castan
311c5d5405 [bin] compute: fix chunks 2017-11-08 17:48:24 +01:00
Fabien Castan
1e4f8f8a61 Add chunk notion for parallelization and implement specific updateInternals in CameraInit node
* Add chunk notion for parallelization
* Allows Node desc to implement custom updateInternals
* CameraInit node implement a specific updateInternals to update the
input image list
* FeatureExtraction, FeatureMatching, DepthMap, DepthMapFilter:
implement parallelization
2017-11-07 15:47:14 +01:00
Fabien Castan
c43d371018 [bin] compute: add "extern" option to know if we are computing on renderfarm 2017-10-27 11:40:42 +02:00
Fabien Castan
40974149ee [core] cache directory per graph 2017-10-26 12:22:06 +02:00
Fabien Castan
e423493798 [bin] fix toNodes argument when empty 2017-10-16 12:39:44 +02:00
Fabien Castan
0655d1b7d1 [bin] add toNode argument with partial name support 2017-10-16 12:24:02 +02:00
Fabien Castan
e47e592713 rename executables to remove the extension and add meshroom prefix 2017-10-11 16:32:40 +02:00
Renamed from bin/compute.py (Browse further)