![Profile picture](https://clearml-web-assets.s3.amazonaws.com/scoold/avatars/SmarmyDolphin68.png)
Reputation
Badges 1
40 × Eureka!Are you doing
plt.imshow
Nope
And yes, I set the report_image=False
0.16.1-320
you mean 0.16?
Ah my bad, I picked up the version from docker-compose file :D
Yes, copied and pasted the configuration file correctly, points to the right server (running on Azure). I created a clearml.conf file on another Azure VM (not under the VPN) and there it worked fine. The 'on-premise' server fails to connect to the ClearML server because of the VPN I think
AgitatedDove14 , here's the code snippet you requested
I tried it about 2-3 months ago with trains-init (same use-case as this one) and it failed that time too.
Could it be the credentials are actually incorrect?
Highly unlikely, like I said, I generated a new set of credentials from the Web-UI and it worked perfectly fine for an Azure VM (not under the VPN).
So clearml-init can be skipped, and I provide the users with a template and ask them to append the credentials at the top, is that right? What about the "Credential verification" step in clearml-init command, that won't take place in this pipeline right, will that be a problem?
I tried setting the variables with export
but got this error:
` Traceback (most recent call last):
File "test.py", line 1, in <module>
from trains import Task
File "/home/sam/VirtualEnvs/test/lib/python3.8/site-packages/trains/init.py", line 4, in <module>
from .task import Task
File "/home/sam/VirtualEnvs/test/lib/python3.8/site-packages/trains/task.py", line 28, in <module>
from .backend_interface.metrics import Metrics
File "/home/sam/VirtualEnvs/test/lib/pyth...
` 2020-12-03 13:31:27,296 - trains.storage - ERROR - Azure blob storage driver not found. Please install driver using "pip install 'azure.storage.blob>=2.0.1'"
Traceback (most recent call last):
File "test.py", line 3, in <module>
task = Task.init(project_name="Test", task_name="debugging")
File "/home/sam/VirtualEnvs/test/lib/python3.8/site-packages/trains/task.py", line 461, in init
task.output_uri = cls.__default_output_uri
File "/home/sam/VirtualEnvs/test/lib/python3.8/site-...
It says container name is optional in azure.storage
, if I don't provide the container name, and remove it from the end of default_uri
, would that work?
No, those env variables aren't set.
This is the whole error dump:
`
2020-12-03 13:31:27,296 - trains.storage - ERROR - Azure blob storage driver not found. Please install driver using "pip install 'azure.storage.blob>=2.0.1'"
Traceback (most recent call last):
File "test.py", line 3, in <module>
task = Task.init(project_name="Test", task_name="debugging")
File "/home/sam/VirtualEnvs/test/lib/python3.8/site-packages/trains/task.py", line 461, in init
task.output_uri = cls.__default_output_uri
File "/home/sam/Virtu...
I did that, and it works flawlessly. I swear I installed the Azure blob storage package multiple times, anyway thanks a lot again for the detailed debugging O:)
Oh it worked! I did the pip install multiple times earlier, but to no avail. I think it's because of the env variables? Let me try to unset those and provide it within the trains.conf
Ahh okay, commented out the whole thing and got the same error as earlier ( Could not get access credentials
)
Thanks a lot SuccessfulKoala55 🙂
This is what I get with the ' https://
' , this is atleast getting a response from Azure
` 2020-12-03 13:48:49,667 - trains.Task - INFO - No repository found, storing script code instead
TRAINS results page: http://<IP>:8080/projects/<hash>/output/log
2020-12-03 13:48:51,505 - trains.Task - INFO - Waiting for repository detection and full package requirement analysis
2020-12-03 13:48:53,315 - trains.Task - INFO - Finished repository detection and package analysis
2020-12-03 13:48:53,315 -...