valohai / docs

:blue_book: Valohai ecosystem documentation
https://docs.valohai.com/
0 stars 2 forks source link

Change valohai-utils learning path to be in sync with valohai/tensorf… #164

Closed orasimus closed 2 years ago

orasimus commented 2 years ago

…low-example

I'm in the process of updating the tensorflow-example to use TensorFlow 2.6.0 and this adds parity between the code presented in the docs and the example.

There are two minor differences: 1) The tensorflow-example extracts normalizing the pixel values from 0-255 to 0.0-1.0 into a preprocessing step.

2) The tensorflow-example encapsulates all scripts into a

def main():
    ...

if __name__ == '__main__':
    main()

While following this specific best practice might be a bit of an overkill in the example, I feel it definitely would be in the docs.

orasimus commented 2 years ago

Nice eagle eyes @DrazenDodik !