In this code excerpt, I've incorporated a call to fit_transform(). Utilizing a logger, I aim to document the execution progress. However, I observed that only the message "Start TSNE" is logged, while the subsequent log messages are conspicuously absent. Adding to the complexity, the function g() is unexpectedly invoked even though the preceding function f() should return a value that serves as an argument for g().
What's even more puzzling is that the program ends with g() triggering an exception, indicating that it is executed before the completion of f(). This behavior is not only unexpected and peculiar, given the dependency of g() on the return value of f().
I suspect that there might be an element of parallelization at play here. However, the complicating factor is that g() requires an argument that hinges on the output of f()'s t-SNE transformation.
I'm reaching out for insights into why this behavior is occurring and, more importantly, how to effectively address it. Your assistance in unraveling this conundrum would be immensely appreciated.
I encountered an issue while working on my project and reported it on GitHub. The issue relates to a specific function call within my code.
I have a code snippet that includes a function call to
fit_transform()
as shown below:In this code excerpt, I've incorporated a call to
fit_transform()
. Utilizing a logger, I aim to document the execution progress. However, I observed that only the message "Start TSNE" is logged, while the subsequent log messages are conspicuously absent. Adding to the complexity, the function g() is unexpectedly invoked even though the preceding function f() should return a value that serves as an argument forg()
.What's even more puzzling is that the program ends with
g()
triggering an exception, indicating that it is executed before the completion off()
. This behavior is not only unexpected and peculiar, given the dependency ofg()
on the return value off()
.I suspect that there might be an element of parallelization at play here. However, the complicating factor is that
g()
requires an argument that hinges on the output off()
's t-SNE transformation.I'm reaching out for insights into why this behavior is occurring and, more importantly, how to effectively address it. Your assistance in unraveling this conundrum would be immensely appreciated.