-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/improve visual notebook #53
base: master
Are you sure you want to change the base?
Conversation
Regarding requirements.txt; there are different images to build here, and for Visual notebook you also need Tensorflow; but TF + OpenCV makes the image massive; hence the difference between cpu and cpu-tf images. For the default image it needs to be either TF+OpenCV or neither... |
removed open cv from requirements.txt and added opencv and tensorflow to the visual analysis notebook specifically to address the feedback @larsll |
Ready for re-review @larsll |
Added functionality to use visual analysis from S3 or use the existing log location
Added cv to requirements so it gets installed
Choosing S3 bucket and which models you want to download results in them being copied locally
![image](https://private-user-images.githubusercontent.com/53598199/316271808-c30a3f8f-8d6c-44ed-9fe1-1efbac2562e4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwOTAzNTUsIm5iZiI6MTczOTA5MDA1NSwicGF0aCI6Ii81MzU5ODE5OS8zMTYyNzE4MDgtYzMwYTNmOGYtOGQ2Yy00NGVkLTlmZTEtMWVmYmFjMjU2MmU0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA4MzQxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU5NTVmYmJkYjhmNDQ1NDdlYjMxODY1YWNiZjI1MDliODVmZTg4ZGM3Zjc3ODUxNGZiYjVkOWQwNDIzNDNkZWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.vT95LeaK_SGtXHTlTYRvbpzKYNWAIS-2BPgE8hzeDgM)
Action space probability: -
![image](https://private-user-images.githubusercontent.com/53598199/316271846-68a6d796-4dbd-408b-bf67-6c7b493f9e45.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwOTAzNTUsIm5iZiI6MTczOTA5MDA1NSwicGF0aCI6Ii81MzU5ODE5OS8zMTYyNzE4NDYtNjhhNmQ3OTYtNGRiZC00MDhiLWJmNjctNmM3YjQ5M2Y5ZTQ1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA4MzQxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQxNGJjNGEyMjZkNWM0OWQ0YWRiMzUxOTY4MDEyYTRkODUzOTAxMmNjZDQzNWQzMWRlODI2ZjJmYjZmOTg4ZmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.jn6tBOINVjsC4hIXnqvCM_pyuc_urCXLzkr4dZws0hk)
Moving view models to len(iterations) ensures all models are loaded: -
![image](https://private-user-images.githubusercontent.com/53598199/316271875-f092476e-5145-45e4-8a36-d5e71e83d76c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwOTAzNTUsIm5iZiI6MTczOTA5MDA1NSwicGF0aCI6Ii81MzU5ODE5OS8zMTYyNzE4NzUtZjA5MjQ3NmUtNTE0NS00NWU0LThhMzYtZDVlNzFlODNkNzZjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA4MzQxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI3ZmM0OGQ3NzM2ZWRlNTBmZjQ2NTg3N2ZhY2FjMGNiZDU5MDg4ZWQ4NTRjNGJjNjNlYWRlNjM4MGE0YjFmZTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.1AG6F0USclLlDR6NkTSVAAveo-kML2mnIKtTYW2MG98)
Ensuring they all get used for the heatmaps: -
![image](https://private-user-images.githubusercontent.com/53598199/316271895-2bb3fb0a-9277-473b-a20d-e30b42dad56c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwOTAzNTUsIm5iZiI6MTczOTA5MDA1NSwicGF0aCI6Ii81MzU5ODE5OS8zMTYyNzE4OTUtMmJiM2ZiMGEtOTI3Ny00NzNiLWEyMGQtZTMwYjQyZGFkNTZjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA4MzQxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIxMTI1NjBhZjdkOTVjMzlkMDg3ODNhYWNhMjY1ZGEyMzAzMmZmNDQzMjFhMWRjZjNiMDViZTg0MzRlN2VkYjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.QMpyYAldR9ZtWhINOBvw1xbT-kfXlmxfuQ1Kxhmq5T4)