Hello,I found a performance issue in the definition of dataset ,
tf2code/Chapter6/code6-19/code6-19-TF2-Resnet.py,
dataset = dataset.map(_parseone) was called without num_parallel_calls.
I think it will increase the efficiency of your program if you add this.
The same issues also exist in dataset = dataset.map(_random_rotated30) ,
dataset = dataset.map(_parseone),
dataset = dataset.map(_random_rotated30) and other 31 places.
Here is the documemtation of tensorflow to support this thing.
Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.
Hello,I found a performance issue in the definition of
dataset,tf2code/Chapter6/code6-19/code6-19-TF2-Resnet.py,
dataset = dataset.map(_parseone) was called without num_parallel_calls.
I think it will increase the efficiency of your program if you add this.
The same issues also exist in dataset = dataset.map(_random_rotated30) ,
dataset = dataset.map(_parseone),
dataset = dataset.map(_random_rotated30) and other 31 places.
Here is the documemtation of tensorflow to support this thing.
Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.